Index: tests/WritePixelsTest.cpp |
diff --git a/tests/WritePixelsTest.cpp b/tests/WritePixelsTest.cpp |
index 367942f508964886c1deb7a626eb8dd8e96e3ebf..8ad84510c98938bdb98af1890e1eb8a04a4c8094 100644 |
--- a/tests/WritePixelsTest.cpp |
+++ b/tests/WritePixelsTest.cpp |
@@ -415,7 +415,7 @@ DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(WritePixels_Gpu, reporter, ctxInfo) { |
desc.fConfig = kSkia8888_GrPixelConfig; |
desc.fOrigin = origin; |
SkAutoTUnref<GrTexture> texture( |
- ctxInfo.fGrContext->textureProvider()->createTexture(desc, SkBudgeted::kNo)); |
+ ctxInfo.grContext()->textureProvider()->createTexture(desc, SkBudgeted::kNo)); |
auto surface(SkSurface::MakeRenderTargetDirect(texture->asRenderTarget())); |
test_write_pixels(reporter, surface.get()); |
} |