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

Unified Diff: Source/core/html/canvas/CanvasRenderingContext2D.cpp

Issue 15137009: Refactor shadow rendering logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: merge upstream changes Created 7 years, 7 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
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/platform/graphics/DrawLooper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/canvas/CanvasRenderingContext2D.cpp
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.cpp b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
index bba6594a5dd5e9cb751e0b54e79500a3888ab6cb..72e701e3063e77aacdf3c4134c67dc1a670b9ebc 100644
--- a/Source/core/html/canvas/CanvasRenderingContext2D.cpp
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.cpp
@@ -1184,7 +1184,7 @@ void CanvasRenderingContext2D::applyShadow()
return;
if (shouldDrawShadows())
- c->setShadow(state().m_shadowOffset, state().m_shadowBlur, state().m_shadowColor, ColorSpaceDeviceRGB);
+ c->setShadow(state().m_shadowOffset, state().m_shadowBlur, state().m_shadowColor);
else
c->clearShadow();
}
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/platform/graphics/DrawLooper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698