Index: tests/BlurTest.cpp |
diff --git a/tests/BlurTest.cpp b/tests/BlurTest.cpp |
index 39ef7382883f49582af458eeba87c1908bf22e62..dc3d6c76e378a4ceb0d4991f030fde2ce918b31a 100644 |
--- a/tests/BlurTest.cpp |
+++ b/tests/BlurTest.cpp |
@@ -564,7 +564,7 @@ DEF_TEST(BlurAsABlur, reporter) { |
DEF_GPUTEST_FOR_RENDERING_CONTEXTS(SmallBoxBlurBug, reporter, ctx) { |
SkImageInfo info = SkImageInfo::MakeN32Premul(128, 128); |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(ctx, SkBudgeted::kNo, info)); |
+ auto surface(SkSurface::MakeRenderTarget(ctx, SkBudgeted::kNo, info)); |
SkCanvas* canvas = surface->getCanvas(); |
SkRect r = SkRect::MakeXYWH(10, 10, 100, 100); |