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