Index: gm/largeglyphblur.cpp |
diff --git a/gm/largeglyphblur.cpp b/gm/largeglyphblur.cpp |
index 235c7cc5adb98e5eaa2d7cae9dbb37ce1bd5816f..19d390be541b5a9ec7757d04a7e8d7474699dade 100644 |
--- a/gm/largeglyphblur.cpp |
+++ b/gm/largeglyphblur.cpp |
@@ -32,9 +32,9 @@ DEF_SIMPLE_GM(largeglyphblur, canvas, 1920, 600) { |
sk_tool_utils::add_to_text_blob(&builder, text, paint, 0, 0); |
- SkAutoTUnref<const SkTextBlob> blob(builder.build()); |
- canvas->drawTextBlob(blob.get(), 10, 200, blurPaint); |
- canvas->drawTextBlob(blob.get(), 10, 200, paint); |
+ sk_sp<SkTextBlob> blob(builder.make()); |
+ canvas->drawTextBlob(blob, 10, 200, blurPaint); |
+ canvas->drawTextBlob(blob, 10, 200, paint); |
size_t len = strlen(text); |
canvas->drawText(text, len, 10, 500, blurPaint); |