Title: [111219] trunk/Source/WebKit2
Revision
111219
Author
[email protected]
Date
2012-03-19 12:43:35 -0700 (Mon, 19 Mar 2012)

Log Message

When Find overlay first appears and the page scrolls, the scrolling happens through a fade
https://bugs.webkit.org/show_bug.cgi?id=81539
<rdar://problem/11031093>

Reviewed by Dan Bernstein.

Disable implicit animations when adding the page overlay layer to its superlayer.

* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::createPageOverlayLayer):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (111218 => 111219)


--- trunk/Source/WebKit2/ChangeLog	2012-03-19 19:41:17 UTC (rev 111218)
+++ trunk/Source/WebKit2/ChangeLog	2012-03-19 19:43:35 UTC (rev 111219)
@@ -1,5 +1,18 @@
 2012-03-19  Anders Carlsson  <[email protected]>
 
+        When Find overlay first appears and the page scrolls, the scrolling happens through a fade
+        https://bugs.webkit.org/show_bug.cgi?id=81539
+        <rdar://problem/11031093>
+
+        Reviewed by Dan Bernstein.
+
+        Disable implicit animations when adding the page overlay layer to its superlayer.
+
+        * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+        (WebKit::TiledCoreAnimationDrawingArea::createPageOverlayLayer):
+
+2012-03-19  Anders Carlsson  <[email protected]>
+
         Crash when closing an inspected web page with tiled drawing enabled
         https://bugs.webkit.org/show_bug.cgi?id=81524
         <rdar://problem/11062396>

Modified: trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm (111218 => 111219)


--- trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm	2012-03-19 19:41:17 UTC (rev 111218)
+++ trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm	2012-03-19 19:43:35 UTC (rev 111219)
@@ -356,7 +356,12 @@
     m_pageOverlayLayer->setDrawsContent(true);
     m_pageOverlayLayer->setSize(m_webPage->size());
 
+    [CATransaction begin];
+    [CATransaction setDisableActions:YES];
+
     [m_rootLayer.get() addSublayer:m_pageOverlayLayer->platformLayer()];
+
+    [CATransaction commit];
 }
 
 void TiledCoreAnimationDrawingArea::destroyPageOverlayLayer()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to