Title: [98112] trunk/Source/WebCore
Revision
98112
Author
simon.fra...@apple.com
Date
2011-10-21 10:41:38 -0700 (Fri, 21 Oct 2011)

Log Message

Fix Windows build.

* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::hasAnyAdditionalCompositedLayers):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (98111 => 98112)


--- trunk/Source/WebCore/ChangeLog	2011-10-21 17:39:37 UTC (rev 98111)
+++ trunk/Source/WebCore/ChangeLog	2011-10-21 17:41:38 UTC (rev 98112)
@@ -1,3 +1,10 @@
+2011-10-21  Simon Fraser  <simon.fra...@apple.com>
+
+        Fix Windows build.
+
+        * rendering/RenderLayerCompositor.cpp:
+        (WebCore::RenderLayerCompositor::hasAnyAdditionalCompositedLayers):
+
 2011-10-21  Devdatta Deshpande  <pwj...@motorola.com>
 
         [Gtk] mousemove event always has metaKey == true

Modified: trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp (98111 => 98112)


--- trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp	2011-10-21 17:39:37 UTC (rev 98111)
+++ trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp	2011-10-21 17:41:38 UTC (rev 98112)
@@ -244,7 +244,7 @@
 
 bool RenderLayerCompositor::hasAnyAdditionalCompositedLayers(const RenderLayer* rootLayer) const
 {
-    return m_compositedLayerCount > rootLayer->isComposited();
+    return m_compositedLayerCount > (rootLayer->isComposited() ? 1 : 0);
 }
 
 void RenderLayerCompositor::updateCompositingLayers(CompositingUpdateType updateType, RenderLayer* updateRoot)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to