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

Unified Diff: src/ports/SkImageGeneratorCG.h

Issue 2212493002: Convert SkAutoTUnref<SkData> to sk_sp<SkData>. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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
« no previous file with comments | « src/ports/SkFontHost_win.cpp ('k') | src/ports/SkImageGeneratorWIC.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ports/SkImageGeneratorCG.h
diff --git a/src/ports/SkImageGeneratorCG.h b/src/ports/SkImageGeneratorCG.h
index 53102eaf8cff7875bbae07b06b7cd0a8a826754e..baf3669ffce4cfad4ccd49fdb51a565c754888dc 100644
--- a/src/ports/SkImageGeneratorCG.h
+++ b/src/ports/SkImageGeneratorCG.h
@@ -35,7 +35,7 @@ private:
SkImageGeneratorCG(const SkImageInfo& info, const void* imageSrc, SkData* data);
SkAutoTCallVProc<const void, CFRelease> fImageSrc;
- SkAutoTUnref<SkData> fData;
+ sk_sp<SkData> fData;
typedef SkImageGenerator INHERITED;
};
« no previous file with comments | « src/ports/SkFontHost_win.cpp ('k') | src/ports/SkImageGeneratorWIC.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698