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

Unified Diff: Source/platform/graphics/Image.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 | « Source/platform/graphics/GraphicsContext.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/Image.cpp
diff --git a/Source/platform/graphics/Image.cpp b/Source/platform/graphics/Image.cpp
index 92f46c759801f75d579a01eedefc8956e7829e3e..ca812e3133c3eb9d283a1c59b9b6eefa633bc91d 100644
--- a/Source/platform/graphics/Image.cpp
+++ b/Source/platform/graphics/Image.cpp
@@ -270,7 +270,7 @@ void Image::drawPattern(GraphicsContext* context, const FloatRect& floatSrcRect,
paint.setColor(SK_ColorBLACK);
paint.setXfermodeMode(compositeOp);
paint.setFilterQuality(context->computeFilterQuality(this, destRect, normSrcRect));
- paint.setAntiAlias(context->shouldAntialiasImages());
+ paint.setAntiAlias(context->shouldAntialias());
RefPtr<SkShader> shader = createPatternShader(bitmapToPaint, localMatrix, paint,
FloatSize(repeatSpacing.width() / scale.width(), repeatSpacing.height() / scale.height()));
paint.setShader(shader.get());
« no previous file with comments | « Source/platform/graphics/GraphicsContext.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698