Index: gm/filterfastbounds.cpp |
diff --git a/gm/filterfastbounds.cpp b/gm/filterfastbounds.cpp |
index 9dabdcb7df34ca9249179cfed40d9d08a8bed932..1de30e5826beaedb4831154fc69db59e33a606fd 100644 |
--- a/gm/filterfastbounds.cpp |
+++ b/gm/filterfastbounds.cpp |
@@ -264,7 +264,7 @@ protected: |
//----------- |
// Paints with a SkImageSource as a source |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRasterN32Premul(10, 10)); |
+ auto surface(SkSurface::MakeRasterN32Premul(10, 10)); |
{ |
SkPaint p; |
SkCanvas* temp = surface->getCanvas(); |