Index: tests/TessellatingPathRendererTests.cpp |
diff --git a/tests/TessellatingPathRendererTests.cpp b/tests/TessellatingPathRendererTests.cpp |
index 5c7619cb826b0aac95952f427a89ae54f3aba4b9..bc2d0d1452cf7ccd6221003f3c0fc8c28bc4dfec 100644 |
--- a/tests/TessellatingPathRendererTests.cpp |
+++ b/tests/TessellatingPathRendererTests.cpp |
@@ -251,9 +251,8 @@ DEF_GPUTEST(TessellatingPathRendererTests, reporter, factory) { |
desc.fHeight = 800; |
desc.fConfig = kSkia8888_GrPixelConfig; |
desc.fOrigin = kTopLeft_GrSurfaceOrigin; |
- SkAutoTUnref<GrTexture> texture( |
- context->refScratchTexture(desc, GrContext::kExact_ScratchTexMatch) |
- ); |
+ SkAutoTUnref<GrTexture> texture(context->textureProvider()->refScratchTexture(desc, |
+ GrTextureProvider::kExact_ScratchTexMatch)); |
GrTestTarget tt; |
context->getTestTarget(&tt); |
GrRenderTarget* rt = texture->asRenderTarget(); |