Title: [89147] trunk/Source/WebCore
- Revision
- 89147
- Author
- [email protected]
- Date
- 2011-06-17 11:13:46 -0700 (Fri, 17 Jun 2011)
Log Message
2011-06-17 Cary Clark <[email protected]>
Reviewed by Mihai Parparita.
Exclude isCALayerContext check if building Chrome to use Skia on Mac.
https://bugs.webkit.org/show_bug.cgi?id=62859
No new tests. This change does not affect existing functionality.
* platform/chromium/ScrollbarThemeChromiumMac.mm:
(WebCore::ScrollbarThemeChromiumMac::paint):
Add a conditional to always set drawing into layer to false if
Skia is the WebKit rendering engine. Once USE(SKIA) is enabled,
this condition can be removed.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (89146 => 89147)
--- trunk/Source/WebCore/ChangeLog 2011-06-17 18:11:00 UTC (rev 89146)
+++ trunk/Source/WebCore/ChangeLog 2011-06-17 18:13:46 UTC (rev 89147)
@@ -1,3 +1,18 @@
+2011-06-17 Cary Clark <[email protected]>
+
+ Reviewed by Mihai Parparita.
+
+ Exclude isCALayerContext check if building Chrome to use Skia on Mac.
+ https://bugs.webkit.org/show_bug.cgi?id=62859
+
+ No new tests. This change does not affect existing functionality.
+
+ * platform/chromium/ScrollbarThemeChromiumMac.mm:
+ (WebCore::ScrollbarThemeChromiumMac::paint):
+ Add a conditional to always set drawing into layer to false if
+ Skia is the WebKit rendering engine. Once USE(SKIA) is enabled,
+ this condition can be removed.
+
2011-06-17 Gavin Peters <[email protected]>
Reviewed by Adam Barth.
Modified: trunk/Source/WebCore/platform/chromium/ScrollbarThemeChromiumMac.mm (89146 => 89147)
--- trunk/Source/WebCore/platform/chromium/ScrollbarThemeChromiumMac.mm 2011-06-17 18:11:00 UTC (rev 89146)
+++ trunk/Source/WebCore/platform/chromium/ScrollbarThemeChromiumMac.mm 2011-06-17 18:13:46 UTC (rev 89147)
@@ -471,7 +471,11 @@
}
ScrollAnimatorChromiumMac* scrollAnimator = static_cast<ScrollAnimatorChromiumMac*>(scrollbar->scrollableArea()->scrollAnimator());
+#if !USE(SKIA)
scrollAnimator->setIsDrawingIntoLayer(context->isCALayerContext());
+#else
+ scrollAnimator->setIsDrawingIntoLayer(false);
+#endif
wkSetScrollbarPainterKnobStyle(painterForScrollbar(scrollbar), toScrollbarPainterKnobStyle(scrollbar->scrollableArea()->recommendedScrollbarOverlayStyle()));
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes