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

Unified Diff: bench/CodecBench.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 | « bench/BitmapRegionDecoderBench.cpp ('k') | bench/CodecBench.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/CodecBench.h
diff --git a/bench/CodecBench.h b/bench/CodecBench.h
index b465eae36a18ea131ed3ca13ff801758dd07e9e4..5b4db240049c29b44cea70bf6b9cd55ad565fbfd 100644
--- a/bench/CodecBench.h
+++ b/bench/CodecBench.h
@@ -32,7 +32,7 @@ private:
SkString fName;
const SkColorType fColorType;
const SkAlphaType fAlphaType;
- SkAutoTUnref<SkData> fData;
+ sk_sp<SkData> fData;
SkImageInfo fInfo; // Set in onDelayedSetup.
SkAutoMalloc fPixelStorage;
typedef Benchmark INHERITED;
« no previous file with comments | « bench/BitmapRegionDecoderBench.cpp ('k') | bench/CodecBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698