Index: tests/TessellatingPathRendererTests.cpp |
diff --git a/tests/TessellatingPathRendererTests.cpp b/tests/TessellatingPathRendererTests.cpp |
index ae648accdea4bb73e73a093c71e55a482e4d6e24..219397bc119ba9c24a85a1418ef8eeec598d1d5e 100644 |
--- a/tests/TessellatingPathRendererTests.cpp |
+++ b/tests/TessellatingPathRendererTests.cpp |
@@ -263,8 +263,8 @@ DEF_GPUTEST(TessellatingPathRendererTests, reporter, factory) { |
desc.fOrigin = kTopLeft_GrSurfaceOrigin; |
SkAutoTUnref<GrTexture> texture(context->textureProvider()->createApproxTexture(desc)); |
GrTestTarget tt; |
- context->getTestTarget(&tt); |
GrRenderTarget* rt = texture->asRenderTarget(); |
+ context->getTestTarget(&tt, rt); |
GrDrawTarget* dt = tt.target(); |
GrResourceProvider* rp = tt.resourceProvider(); |