Index: gm/textblobshader.cpp |
diff --git a/gm/textblobshader.cpp b/gm/textblobshader.cpp |
index bb0e03c4f3c848fb5ac8051fa0391428c8c4cf5e..acb6436d1affc12824f5e58a43f28d420870887e 100644 |
--- a/gm/textblobshader.cpp |
+++ b/gm/textblobshader.cpp |
@@ -56,7 +56,7 @@ protected: |
run->pos[i * 2 + 1] = 150 + 5 * sinf((float)i * 8 / glyphCount); |
} |
- fBlob.reset(builder.build()); |
+ fBlob = builder.make(); |
SkColor colors[2]; |
colors[0] = SK_ColorRED; |
@@ -102,9 +102,9 @@ protected: |
} |
private: |
- SkTDArray<uint16_t> fGlyphs; |
- SkAutoTUnref<const SkTextBlob> fBlob; |
- sk_sp<SkShader> fShader; |
+ SkTDArray<uint16_t> fGlyphs; |
+ sk_sp<SkTextBlob> fBlob; |
+ sk_sp<SkShader> fShader; |
typedef skiagm::GM INHERITED; |
}; |