Build fix for !USE(ACCELERATED_COMPOSITING) after r135029.
authorparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Nov 2012 07:41:54 +0000 (07:41 +0000)
committerparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Nov 2012 07:41:54 +0000 (07:41 +0000)
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::paintOverflowControls):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@135039 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayer.cpp

index aa7e45b..5a08561 100644 (file)
@@ -1,3 +1,10 @@
+2012-11-16  Patrick Gansterer  <paroga@webkit.org>
+
+        Build fix for !USE(ACCELERATED_COMPOSITING) after r135029.
+
+        * rendering/RenderLayer.cpp:
+        (WebCore::RenderLayer::paintOverflowControls):
+
 2012-11-16  Benjamin Poulain  <bpoulain@apple.com>
 
         Improve the performance of rect transform
index 0e04ca3..2c64760 100644 (file)
@@ -2718,7 +2718,10 @@ void RenderLayer::paintOverflowControls(GraphicsContext* context, const IntPoint
 #endif
         RenderView* renderView = renderer()->view();
 
-        RenderLayer* paintingRoot = enclosingCompositingLayer();
+        RenderLayer* paintingRoot = 0;
+#if USE(ACCELERATED_COMPOSITING)
+        paintingRoot = enclosingCompositingLayer();
+#endif
         if (!paintingRoot)
             paintingRoot = renderView->layer();