Index: tests/WritePixelsTest.cpp |
diff --git a/tests/WritePixelsTest.cpp b/tests/WritePixelsTest.cpp |
index 90f5d805f1071cc91c8adcf61ed7eefae30bf00a..ec88f03c2b723634fc4afecb3c1bb3b09a76d975 100644 |
--- a/tests/WritePixelsTest.cpp |
+++ b/tests/WritePixelsTest.cpp |
@@ -416,7 +416,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(WritePixels_Gpu, reporter, ctxInfo) { |
desc.fOrigin = origin; |
SkAutoTUnref<GrTexture> texture( |
ctxInfo.grContext()->textureProvider()->createTexture(desc, SkBudgeted::kNo)); |
- auto surface(SkSurface::MakeRenderTargetDirect(texture->asRenderTarget())); |
+ auto surface(SkSurface::MakeRenderTargetDirect(texture->asRenderTarget(), nullptr)); |
test_write_pixels(reporter, surface.get()); |
} |
} |