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

Unified Diff: Source/modules/canvas2d/CanvasRenderingContext2DState.cpp

Issue 1234923002: Revert of https://codereview.chromium.org/1176073003/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/canvas2d/CanvasRenderingContext2DState.cpp
diff --git a/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp b/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp
index 1ca88aeaba356fb19b89d110b6133177b8f2d9ee..796428d8de17ddd90bc0da48269295bb4bea815c 100644
--- a/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp
+++ b/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp
@@ -458,7 +458,7 @@ SkXfermode::Mode CanvasRenderingContext2DState::globalComposite() const
void CanvasRenderingContext2DState::setImageSmoothingEnabled(bool enabled)
{
- SkFilterQuality filterQuality = enabled ? kMedium_SkFilterQuality : kNone_SkFilterQuality;
+ SkFilterQuality filterQuality = enabled ? kLow_SkFilterQuality : kNone_SkFilterQuality;
m_strokePaint.setFilterQuality(filterQuality);
m_fillPaint.setFilterQuality(filterQuality);
m_imagePaint.setFilterQuality(filterQuality);
@@ -466,7 +466,7 @@ void CanvasRenderingContext2DState::setImageSmoothingEnabled(bool enabled)
bool CanvasRenderingContext2DState::imageSmoothingEnabled() const
{
- return m_imagePaint.getFilterQuality() == kMedium_SkFilterQuality;
+ return m_imagePaint.getFilterQuality() == kLow_SkFilterQuality;
}
bool CanvasRenderingContext2DState::shouldDrawShadows() const
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698