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

Unified Diff: gm/imagefilterstransformed.cpp

Issue 1860573002: Update SkMorphology ImageFilters to sk_sp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update to ToT 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/imagefiltersscaled.cpp ('k') | gm/localmatriximagefilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/imagefilterstransformed.cpp
diff --git a/gm/imagefilterstransformed.cpp b/gm/imagefilterstransformed.cpp
index 687e458f1fe04129020de05998ae372b408cfaae..1ab52b9f58044649ceba8d27df71063657b283ce 100644
--- a/gm/imagefilterstransformed.cpp
+++ b/gm/imagefilterstransformed.cpp
@@ -74,8 +74,8 @@ protected:
12,
gradient.get(),
checkerboard.get()),
- SkDilateImageFilter::Create(2, 2, checkerboard.get()),
- SkErodeImageFilter::Create(2, 2, checkerboard.get()),
+ SkDilateImageFilter::Make(2, 2, checkerboard).release(),
+ SkErodeImageFilter::Make(2, 2, checkerboard).release(),
};
const SkScalar margin = SkIntToScalar(20);
« no previous file with comments | « gm/imagefiltersscaled.cpp ('k') | gm/localmatriximagefilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698