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

Unified Diff: src/animator/SkDrawBlur.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 | « samplecode/SampleXfermodesBlur.cpp ('k') | src/animator/SkDrawEmboss.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/animator/SkDrawBlur.cpp
diff --git a/src/animator/SkDrawBlur.cpp b/src/animator/SkDrawBlur.cpp
index 14f34acf9b26352c0359fc7557923cdddbc35981..0acb13ec5a9d18a90ad49377aae501fa3fc6dfa3 100644
--- a/src/animator/SkDrawBlur.cpp
+++ b/src/animator/SkDrawBlur.cpp
@@ -29,5 +29,5 @@ SkMaskFilter* SkDrawBlur::getMaskFilter() {
if (fSigma <= 0) {
return nullptr;
}
- return SkBlurMaskFilter::Create((SkBlurStyle)fBlurStyle, fSigma);
+ return SkBlurMaskFilter::Make((SkBlurStyle)fBlurStyle, fSigma).release();
}
« no previous file with comments | « samplecode/SampleXfermodesBlur.cpp ('k') | src/animator/SkDrawEmboss.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698