Index: gm/complexclip_blur_tiled.cpp |
diff --git a/gm/complexclip_blur_tiled.cpp b/gm/complexclip_blur_tiled.cpp |
index aac04167b7b0a0f28c390e08c727e5550c489cc3..b619e67e14b30e7234971682000718adf988de7c 100644 |
--- a/gm/complexclip_blur_tiled.cpp |
+++ b/gm/complexclip_blur_tiled.cpp |
@@ -58,8 +58,7 @@ protected: |
tileCanvas->drawRect(rect, paint); |
tileCanvas->restore(); |
tileCanvas->restore(); |
- SkAutoTUnref<SkImage> tileImage(tileSurface->newImageSnapshot()); |
- canvas->drawImage(tileImage, x, y); |
+ canvas->drawImage(tileSurface->makeImageSnapshot().get(), x, y); |
} |
} |
} |