aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/filterfastbounds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/filterfastbounds.cpp')
-rw-r--r--gm/filterfastbounds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/filterfastbounds.cpp b/gm/filterfastbounds.cpp
index 9dabdcb7df..1de30e5826 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();