Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1170)

Unified Diff: Source/core/layout/LayoutThemeMac.mm

Issue 1093673002: Removing the dependency on GraphicsContext for drawing images in 2D canvas (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix for overdraw optimization failures and fix for mac build Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/layout/LayoutThemeMac.mm
diff --git a/Source/core/layout/LayoutThemeMac.mm b/Source/core/layout/LayoutThemeMac.mm
index ccc9c49f240ce371ef266b6236630a97c344cc15..5f5adccce602e321be8f9ca282e1c100da97b7c5 100644
--- a/Source/core/layout/LayoutThemeMac.mm
+++ b/Source/core/layout/LayoutThemeMac.mm
@@ -1350,7 +1350,7 @@ bool LayoutThemeMac::paintSliderThumb(LayoutObject* o, const PaintInfo& paintInf
paintInfo.context->setShadow(shadowOffset, sliderThumbShadowBlur, shadowColor);
paintInfo.context->setFillColor(Color::black);
paintInfo.context->fillEllipse(borderBounds);
- paintInfo.context->clearShadow();
+ paintInfo.context->clearDrawLooper();
IntRect fillBounds = enclosedIntRect(unzoomedRect);
RefPtr<Gradient> fillGradient = Gradient::create(fillBounds.minXMinYCorner(), fillBounds.minXMaxYCorner());

Powered by Google App Engine
This is Rietveld 408576698