Index: bench/TextBlobBench.cpp |
diff --git a/bench/TextBlobBench.cpp b/bench/TextBlobBench.cpp |
index 7c9b3034302903788231a9b503d930ac145a7cee..b25c9755799590b4f9e55be33842cc2ab3adbeb5 100644 |
--- a/bench/TextBlobBench.cpp |
+++ b/bench/TextBlobBench.cpp |
@@ -44,7 +44,7 @@ protected: |
nullptr); |
memcpy(run.glyphs, glyphs.begin(), glyphs.count() * sizeof(uint16_t)); |
- fBlob.reset(builder.build()); |
+ fBlob = builder.make(); |
} |
const char* onGetName() override { |
@@ -62,9 +62,9 @@ protected: |
private: |
- SkAutoTUnref<const SkTextBlob> fBlob; |
- SkTDArray<uint16_t> fGlyphs; |
- sk_sp<SkTypeface> fTypeface; |
+ sk_sp<SkTextBlob> fBlob; |
+ SkTDArray<uint16_t> fGlyphs; |
+ sk_sp<SkTypeface> fTypeface; |
typedef Benchmark INHERITED; |
}; |