Index: bench/EncoderBench.cpp |
diff --git a/bench/EncoderBench.cpp b/bench/EncoderBench.cpp |
index 8a82a7cf0612553a4ea4bccd5f0100f5f86ad643..d7ddfbc602b00cbd8059a012ba2d3b03710fff98 100644 |
--- a/bench/EncoderBench.cpp |
+++ b/bench/EncoderBench.cpp |
@@ -54,7 +54,7 @@ public: |
void onDraw(int loops, SkCanvas*) override { |
for (int i = 0; i < loops; i++) { |
- SkAutoTUnref<SkData> data(SkImageEncoder::EncodeData(fBitmap, fType, fQuality)); |
+ sk_sp<SkData> data(SkImageEncoder::EncodeData(fBitmap, fType, fQuality)); |
SkASSERT(data); |
} |
} |