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

Unified Diff: include/effects/SkImageSource.h

Issue 1812023002: Switch SkSpecialImage & SkSpecialSurface classes over to smart pointers (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update to ToT (again) Created 4 years, 9 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 | « no previous file | src/core/SkCanvas.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkImageSource.h
diff --git a/include/effects/SkImageSource.h b/include/effects/SkImageSource.h
index 08469481a2015e4c1e4210bd20821943d07e27d1..f27bc762c1f50ebf566b5dd42e7edcb08a7a778c 100644
--- a/include/effects/SkImageSource.h
+++ b/include/effects/SkImageSource.h
@@ -38,9 +38,9 @@ private:
const SkRect& dstRect,
SkFilterQuality);
- SkAutoTUnref<const SkImage> fImage;
- SkRect fSrcRect, fDstRect;
- SkFilterQuality fFilterQuality;
+ sk_sp<const SkImage> fImage;
reed1 2016/03/17 19:49:24 no consty here
robertphillips 2016/03/17 20:14:15 Done.
+ SkRect fSrcRect, fDstRect;
+ SkFilterQuality fFilterQuality;
typedef SkImageFilter INHERITED;
};
« no previous file with comments | « no previous file | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698