Index: gm/patch.cpp |
diff --git a/gm/patch.cpp b/gm/patch.cpp |
index d27c4e1a85fb18301603872850348cff5d98d27e..40eb46f4b6ca3729fddf5296bf7622b8474a2d9c 100644 |
--- a/gm/patch.cpp |
+++ b/gm/patch.cpp |
@@ -95,7 +95,7 @@ DEF_SIMPLE_GM(patch_primitive, canvas, 800, 800) { |
canvas->save(); |
for (int y = 0; y < 3; y++) { |
- SkAutoTUnref<SkXfermode> xfer(SkXfermode::Create(modes[y])); |
+ sk_sp<SkXfermode> xfer(SkXfermode::Make(modes[y])); |
for (int x = 0; x < 4; x++) { |
canvas->save(); |