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

Unified Diff: gm/drawlooper.cpp

Issue 21835004: Blur refactoring (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: hide constant Created 7 years, 4 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: gm/drawlooper.cpp
===================================================================
--- gm/drawlooper.cpp (revision 10522)
+++ gm/drawlooper.cpp (working copy)
@@ -86,7 +86,8 @@
paint->setStrokeWidth(gParams[i].fWidth);
if (gParams[i].fBlur > 0) {
SkMaskFilter* mf = SkBlurMaskFilter::Create(SkIntToScalar(gParams[i].fBlur),
- SkBlurMaskFilter::kNormal_BlurStyle);
+ SkBlurMaskFilter::kNormal_BlurStyle,
+ SkBlurMaskFilter::kNone_BlurFlag);
paint->setMaskFilter(mf)->unref();
}
}
« no previous file with comments | « gm/circles.cpp ('k') | gm/rects.cpp » ('j') | include/effects/SkBlurDrawLooper.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698