Title: [119251] trunk/Source/WebKit2
Revision
119251
Author
[email protected]
Date
2012-06-01 10:16:38 -0700 (Fri, 01 Jun 2012)

Log Message

[WK2] WebLayerTreeRenderer::setContentsSize called synchronously
https://bugs.webkit.org/show_bug.cgi?id=88091

Patch by Dinu Jacob <[email protected]> on 2012-06-01
Reviewed by Noam Rosenthal.

Do not call WebLayerTreeRenderer::setContentsSize synchronously
from LayerTreeHostProxy.

* UIProcess/LayerTreeHostProxy.cpp:
(WebKit::LayerTreeHostProxy::setContentsSize):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (119250 => 119251)


--- trunk/Source/WebKit2/ChangeLog	2012-06-01 17:09:07 UTC (rev 119250)
+++ trunk/Source/WebKit2/ChangeLog	2012-06-01 17:16:38 UTC (rev 119251)
@@ -1,5 +1,18 @@
 2012-06-01  Dinu Jacob  <[email protected]>
 
+        [WK2] WebLayerTreeRenderer::setContentsSize called synchronously
+        https://bugs.webkit.org/show_bug.cgi?id=88091
+
+        Reviewed by Noam Rosenthal.
+
+        Do not call WebLayerTreeRenderer::setContentsSize synchronously
+        from LayerTreeHostProxy.
+ 
+        * UIProcess/LayerTreeHostProxy.cpp:
+        (WebKit::LayerTreeHostProxy::setContentsSize):
+
+2012-06-01  Dinu Jacob  <[email protected]>
+
         [Qt][WK2] Set QWebKitTest::isScalable default as false
         https://bugs.webkit.org/show_bug.cgi?id=88095
 

Modified: trunk/Source/WebKit2/UIProcess/LayerTreeHostProxy.cpp (119250 => 119251)


--- trunk/Source/WebKit2/UIProcess/LayerTreeHostProxy.cpp	2012-06-01 17:09:07 UTC (rev 119250)
+++ trunk/Source/WebKit2/UIProcess/LayerTreeHostProxy.cpp	2012-06-01 17:16:38 UTC (rev 119251)
@@ -131,7 +131,7 @@
 
 void LayerTreeHostProxy::setContentsSize(const FloatSize& contentsSize)
 {
-    m_renderer->setContentsSize(contentsSize);
+    dispatchUpdate(bind(&WebLayerTreeRenderer::setContentsSize, m_renderer.get(), contentsSize));
 }
 
 void LayerTreeHostProxy::setVisibleContentsRect(const IntRect& rect, float scale, const FloatPoint& trajectoryVector, const WebCore::FloatPoint& accurateVisibleContentsPosition)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to