Index: gm/textblobblockreordering.cpp |
diff --git a/gm/textblobblockreordering.cpp b/gm/textblobblockreordering.cpp |
index ea90308b1f46472af0e108e587a6da3bfc16a9fe..3974aca5ab0d9795e4a2585bb4ce7f6dc16b22c9 100644 |
--- a/gm/textblobblockreordering.cpp |
+++ b/gm/textblobblockreordering.cpp |
@@ -35,7 +35,7 @@ protected: |
sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, yOffset - 30); |
// build |
- fBlob.reset(builder.build()); |
+ fBlob = builder.make(); |
} |
SkString onShortName() override { |
@@ -77,7 +77,7 @@ protected: |
} |
private: |
- SkAutoTUnref<const SkTextBlob> fBlob; |
+ sk_sp<SkTextBlob> fBlob; |
static constexpr int kWidth = 275; |
static constexpr int kHeight = 200; |