Title: [182607] trunk/Source/WebKit2
Revision
182607
Author
beid...@apple.com
Date
2015-04-09 14:32:56 -0700 (Thu, 09 Apr 2015)

Log Message

REGRESSION (r182573): Action Menus no longer appear for WebKit2 views displaying an image
rdar://problem/20486551 and https://bugs.webkit.org/show_bug.cgi?id=143574

Reviewed by Brent Fulgham.

* Shared/WebHitTestResult.cpp:
(WebKit::WebHitTestResult::Data::Data): Clear up a name scoping issue.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (182606 => 182607)


--- trunk/Source/WebKit2/ChangeLog	2015-04-09 20:03:23 UTC (rev 182606)
+++ trunk/Source/WebKit2/ChangeLog	2015-04-09 21:32:56 UTC (rev 182607)
@@ -1,3 +1,13 @@
+2015-04-09  Brady Eidson  <beid...@apple.com>
+
+        REGRESSION (r182573): Action Menus no longer appear for WebKit2 views displaying an image
+        rdar://problem/20486551 and https://bugs.webkit.org/show_bug.cgi?id=143574
+
+        Reviewed by Brent Fulgham.
+
+        * Shared/WebHitTestResult.cpp:
+        (WebKit::WebHitTestResult::Data::Data): Clear up a name scoping issue.
+
 2015-04-09  Chris Dumez  <cdu...@apple.com>
 
         [WK2][iOS] editorState() should not cause a synchronous layout

Modified: trunk/Source/WebKit2/Shared/WebHitTestResult.cpp (182606 => 182607)


--- trunk/Source/WebKit2/Shared/WebHitTestResult.cpp	2015-04-09 20:03:23 UTC (rev 182606)
+++ trunk/Source/WebKit2/Shared/WebHitTestResult.cpp	2015-04-09 21:32:56 UTC (rev 182607)
@@ -84,11 +84,11 @@
 
     if (Image* image = hitTestResult.image()) {
         RefPtr<SharedBuffer> buffer = image->data();
-        String imageExtension = image->filenameExtension();
-        if (!imageExtension.isEmpty() && buffer) {
+        String filenameExtension = image->filenameExtension();
+        if (!filenameExtension.isEmpty() && buffer) {
             imageSharedMemory = SharedMemory::create(buffer->size());
             memcpy(imageSharedMemory->data(), buffer->data(), buffer->size());
-            imageExtension = imageExtension;
+            imageExtension = filenameExtension;
             imageSize = buffer->size();
         }
     }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to