Title: [159688] trunk/Source/WebCore
Revision
159688
Author
[email protected]
Date
2013-11-22 08:01:48 -0800 (Fri, 22 Nov 2013)

Log Message

[WinCairo] Compile error when ACCELERATED_COMPOSITING is not used.
https://bugs.webkit.org/show_bug.cgi?id=124773

Patch by [email protected] <[email protected]> on 2013-11-22
Reviewed by Brent Fulgham.

* rendering/RenderView.cpp:
(WebCore::RenderView::paintBoxDecorations): Added USE(ACCELERATED_COMPOSITING) guard.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (159687 => 159688)


--- trunk/Source/WebCore/ChangeLog	2013-11-22 15:12:16 UTC (rev 159687)
+++ trunk/Source/WebCore/ChangeLog	2013-11-22 16:01:48 UTC (rev 159688)
@@ -1,3 +1,13 @@
+2013-11-22  [email protected]  <[email protected]>
+
+        [WinCairo] Compile error when ACCELERATED_COMPOSITING is not used.
+        https://bugs.webkit.org/show_bug.cgi?id=124773
+
+        Reviewed by Brent Fulgham.
+
+        * rendering/RenderView.cpp:
+        (WebCore::RenderView::paintBoxDecorations): Added USE(ACCELERATED_COMPOSITING) guard.
+
 2013-11-18  Sergio Villar Senin  <[email protected]>
 
         [CSS Grid Layout] Improve content-sized track layout

Modified: trunk/Source/WebCore/rendering/RenderView.cpp (159687 => 159688)


--- trunk/Source/WebCore/rendering/RenderView.cpp	2013-11-22 15:12:16 UTC (rev 159687)
+++ trunk/Source/WebCore/rendering/RenderView.cpp	2013-11-22 16:01:48 UTC (rev 159688)
@@ -514,7 +514,10 @@
         rootObscuresBackground = rendererObscuresBackground(rootRenderer);
     }
 
-    bool hasTiledMargin = compositor().mainFrameBackingIsTiledWithMargin();
+    bool hasTiledMargin = false;
+#if USE(ACCELERATED_COMPOSITING)
+    hasTiledMargin = compositor().mainFrameBackingIsTiledWithMargin();
+#endif
 
     Page* page = document().page();
     float pageScaleFactor = page ? page->pageScaleFactor() : 1;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to