Title: [172639] trunk/Source/WebKit2
Revision
172639
Author
[email protected]
Date
2014-08-15 12:10:04 -0700 (Fri, 15 Aug 2014)

Log Message

Service overlays stay fixed when <iframe> scrolls
https://bugs.webkit.org/show_bug.cgi?id=135959
<rdar://problem/17957716>

Reviewed by Enrica Casucci.

* WebProcess/WebPage/mac/ServicesOverlayController.mm:
(WebKit::ServicesOverlayController::highlightsAreEquivalent):
Tiny correctness fix; highlights can only be equivalent if their
types are equivalent as well.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (172638 => 172639)


--- trunk/Source/WebKit2/ChangeLog	2014-08-15 19:03:59 UTC (rev 172638)
+++ trunk/Source/WebKit2/ChangeLog	2014-08-15 19:10:04 UTC (rev 172639)
@@ -1,3 +1,16 @@
+2014-08-15  Tim Horton  <[email protected]>
+
+        Service overlays stay fixed when <iframe> scrolls
+        https://bugs.webkit.org/show_bug.cgi?id=135959
+        <rdar://problem/17957716>
+
+        Reviewed by Enrica Casucci.
+
+        * WebProcess/WebPage/mac/ServicesOverlayController.mm:
+        (WebKit::ServicesOverlayController::highlightsAreEquivalent):
+        Tiny correctness fix; highlights can only be equivalent if their
+        types are equivalent as well.
+
 2014-08-15  Gavin Barraclough  <[email protected]>
 
         de-PLATFORM(COCOA) a couple of methods in plugin code

Modified: trunk/Source/WebKit2/WebProcess/WebPage/mac/ServicesOverlayController.mm (172638 => 172639)


--- trunk/Source/WebKit2/WebProcess/WebPage/mac/ServicesOverlayController.mm	2014-08-15 19:03:59 UTC (rev 172638)
+++ trunk/Source/WebKit2/WebProcess/WebPage/mac/ServicesOverlayController.mm	2014-08-15 19:10:04 UTC (rev 172639)
@@ -613,7 +613,7 @@
     if (!a || !b)
         return false;
 
-    if (areRangesEqual(a->range(), b->range()))
+    if (a->type() == b->type() && areRangesEqual(a->range(), b->range()))
         return true;
 
     return false;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to