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

Unified Diff: Source/platform/graphics/CrossfadeGeneratedImage.cpp

Issue 1179143003: SP: antialias images regardless of CTM. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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') | Source/platform/graphics/GraphicsContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/CrossfadeGeneratedImage.cpp
diff --git a/Source/platform/graphics/CrossfadeGeneratedImage.cpp b/Source/platform/graphics/CrossfadeGeneratedImage.cpp
index 9df2a0c383b43018cd01bce5e04791b01ea3006f..84245e7508cd3738ba01faa3890d56478d3357c5 100644
--- a/Source/platform/graphics/CrossfadeGeneratedImage.cpp
+++ b/Source/platform/graphics/CrossfadeGeneratedImage.cpp
@@ -95,7 +95,7 @@ void CrossfadeGeneratedImage::drawTile(GraphicsContext* context, const FloatRect
SkPaint paint = context->fillPaint();
paint.setXfermodeMode(SkXfermode::kSrcOver_Mode);
- paint.setAntiAlias(context->shouldAntialiasImages());
+ paint.setAntiAlias(context->shouldAntialias());
FloatRect destRect(FloatPoint(), m_crossfadeSize);
paint.setFilterQuality(context->computeFilterQuality(this, destRect, srcRect));
drawCrossfade(context->canvas(), paint, ClampImageToSourceRect);
« no previous file with comments | « LayoutTests/TestExpectations ('k') | Source/platform/graphics/GraphicsContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698