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

Unified Diff: gm/skbug1719.cpp

Issue 1852113003: switch maskfilters to sk_sp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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 | « gm/samplerstress.cpp ('k') | gm/textbloblooper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/skbug1719.cpp
diff --git a/gm/skbug1719.cpp b/gm/skbug1719.cpp
index 3358de5525f9dca4247e899de503ec5d266ac6ae..ec7818cc10dd373856b431eb884de75cb49a5210 100644
--- a/gm/skbug1719.cpp
+++ b/gm/skbug1719.cpp
@@ -61,9 +61,8 @@ DEF_SIMPLE_GM_BG(skbug1719, canvas, 300, 100,
paint.setAntiAlias(true);
paint.setColor(0xFF000000);
paint.setMaskFilter(
- SkBlurMaskFilter::Create(kNormal_SkBlurStyle,
- 0.78867501f,
- SkBlurMaskFilter::kHighQuality_BlurFlag))->unref();
+ SkBlurMaskFilter::Make(kNormal_SkBlurStyle, 0.78867501f,
+ SkBlurMaskFilter::kHighQuality_BlurFlag));
paint.setColorFilter(SkColorFilter::MakeModeFilter(0xBFFFFFFF, SkXfermode::kSrcIn_Mode));
canvas->clipPath(clipPath, SkRegion::kIntersect_Op, true);
« no previous file with comments | « gm/samplerstress.cpp ('k') | gm/textbloblooper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698