Index: tests/ReadPixelsTest.cpp |
diff --git a/tests/ReadPixelsTest.cpp b/tests/ReadPixelsTest.cpp |
index 6b6778d1ac39fdd8bb9075315d2afc575d224986..6aebe6effa401b79409378edc3e4a053762efa65 100644 |
--- a/tests/ReadPixelsTest.cpp |
+++ b/tests/ReadPixelsTest.cpp |
@@ -397,7 +397,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ReadPixels_Gpu, reporter, ctxInfo) { |
desc.fOrigin = origin; |
SkAutoTUnref<GrTexture> surfaceTexture( |
ctxInfo.grContext()->textureProvider()->createTexture(desc, SkBudgeted::kNo)); |
- auto surface(SkSurface::MakeRenderTargetDirect(surfaceTexture->asRenderTarget())); |
+ auto surface(SkSurface::MakeRenderTargetDirect(surfaceTexture->asRenderTarget(), nullptr)); |
desc.fFlags = kNone_GrSurfaceFlags; |
test_readpixels(reporter, surface, kLast_BitmapInit); |
} |