Index: tests/SurfaceTest.cpp |
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp |
index 16db3e3c4e2d6f984e8b79d1d85db38a0c9ae444..8d2ba51e199f496315dcdf3bbc9fc664fed4ee33 100644 |
--- a/tests/SurfaceTest.cpp |
+++ b/tests/SurfaceTest.cpp |
@@ -337,7 +337,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(UniqueImageSnapshot_Gpu, reporter, ctxInfo) { |
desc.fTextureHandle = textureObject; |
GrTexture* texture = context->textureProvider()->wrapBackendTexture(desc); |
{ |
- auto surface(SkSurface::MakeRenderTargetDirect(texture->asRenderTarget())); |
+ auto surface(SkSurface::MakeRenderTargetDirect(texture->asRenderTarget(), nullptr)); |
test_unique_image_snap(reporter, surface.get(), true, imageBackingStore, |
surfaceBackingStore); |
} |