Title: [124391] trunk/Source/WebKit/chromium
Revision
124391
Author
[email protected]
Date
2012-08-01 17:20:08 -0700 (Wed, 01 Aug 2012)

Log Message

Fix for drawing invalid layers in WebViewBenchmarkSupportImpl
https://bugs.webkit.org/show_bug.cgi?id=92920

Patch by Daniel Murphy <[email protected]> on 2012-08-01
Reviewed by Adrienne Walker.

The GraphicsLayers without content needed to be skipped.

* src/WebViewBenchmarkSupportImpl.cpp:
(WebKit::WebViewBenchmarkSupportImpl::acceleratedPaintUnclipped):

Modified Paths

Diff

Modified: trunk/Source/WebKit/chromium/ChangeLog (124390 => 124391)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-08-02 00:16:26 UTC (rev 124390)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-08-02 00:20:08 UTC (rev 124391)
@@ -1,3 +1,15 @@
+2012-08-01  Daniel Murphy  <[email protected]>
+
+        Fix for drawing invalid layers in WebViewBenchmarkSupportImpl
+        https://bugs.webkit.org/show_bug.cgi?id=92920
+
+        Reviewed by Adrienne Walker.
+
+        The GraphicsLayers without content needed to be skipped.
+
+        * src/WebViewBenchmarkSupportImpl.cpp:
+        (WebKit::WebViewBenchmarkSupportImpl::acceleratedPaintUnclipped):
+
 2012-08-01  Jian Li  <[email protected]>
 
         Add new CSS property "-webkit-widget-region" to expose dashboard region support for other port

Modified: trunk/Source/WebKit/chromium/src/WebViewBenchmarkSupportImpl.cpp (124390 => 124391)


--- trunk/Source/WebKit/chromium/src/WebViewBenchmarkSupportImpl.cpp	2012-08-02 00:16:26 UTC (rev 124390)
+++ trunk/Source/WebKit/chromium/src/WebViewBenchmarkSupportImpl.cpp	2012-08-02 00:20:08 UTC (rev 124391)
@@ -59,7 +59,8 @@
     FloatSize layerSize = layer.size();
     IntRect clip(0, 0, layerSize.width(), layerSize.height());
 
-    paintLayer(paintClient, layer, clip);
+    if (layer.drawsContent())
+        paintLayer(paintClient, layer, clip);
 
     const Vector<GraphicsLayer*>& children = layer.children();
     Vector<GraphicsLayer*>::const_iterator it;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to