Index: gm/textblobcolortrans.cpp |
diff --git a/gm/textblobcolortrans.cpp b/gm/textblobcolortrans.cpp |
index 1e7a66667a076288c46bc66e0e89a6e5102ef325..286dc77ef5ba08c3023f06f259d10fe5612ff0fc 100644 |
--- a/gm/textblobcolortrans.cpp |
+++ b/gm/textblobcolortrans.cpp |
@@ -48,7 +48,7 @@ protected: |
sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset - 8); |
// build |
- fBlob.reset(builder.build()); |
+ fBlob = builder.make(); |
} |
SkString onShortName() override { |
@@ -87,7 +87,7 @@ protected: |
} |
private: |
- SkAutoTUnref<const SkTextBlob> fBlob; |
+ sk_sp<SkTextBlob> fBlob; |
static constexpr int kWidth = 675; |
static constexpr int kHeight = 1600; |