Index: gm/lcdoverlap.cpp |
diff --git a/gm/lcdoverlap.cpp b/gm/lcdoverlap.cpp |
index 17775646a6bee6256bb1924311311da8a1fb4925..aae27d8c1aa5a3e42c7225091174504bc096d44d 100644 |
--- a/gm/lcdoverlap.cpp |
+++ b/gm/lcdoverlap.cpp |
@@ -60,8 +60,8 @@ protected: |
SK_ColorMAGENTA, |
}; |
- SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(mode)); |
- SkAutoTUnref<SkXfermode> xfermode2(SkXfermode::Create(mode2)); |
+ sk_sp<SkXfermode> xfermode(SkXfermode::Make(mode)); |
+ sk_sp<SkXfermode> xfermode2(SkXfermode::Make(mode2)); |
for (size_t i = 0; i < SK_ARRAY_COUNT(colors); i++) { |
canvas->save(); |
canvas->translate(x, y); |