aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/TessellatingPathRendererTests.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-05-11 06:33:06 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-11 06:33:06 -0700
commit8b7451aaf6b1c71e9d343a4df107893db277b6aa (patch)
treeb1416c3e9a154a74ff004135d41b5eefd68c0ed9 /tests/TessellatingPathRendererTests.cpp
parent70142347f7b4ef49745e828d93026fc153a72845 (diff)
Turn ContextInfos returned by GrContextFactory into structs.
Diffstat (limited to 'tests/TessellatingPathRendererTests.cpp')
-rw-r--r--tests/TessellatingPathRendererTests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TessellatingPathRendererTests.cpp b/tests/TessellatingPathRendererTests.cpp
index 9d550775ba..932eb5e676 100644
--- a/tests/TessellatingPathRendererTests.cpp
+++ b/tests/TessellatingPathRendererTests.cpp
@@ -260,10 +260,10 @@ DEF_GPUTEST_FOR_ALL_CONTEXTS(TessellatingPathRendererTests, reporter, ctxInfo) {
desc.fConfig = kSkia8888_GrPixelConfig;
desc.fOrigin = kTopLeft_GrSurfaceOrigin;
SkAutoTUnref<GrTexture> texture(
- ctxInfo.fGrContext->textureProvider()->createApproxTexture(desc));
+ ctxInfo.grContext()->textureProvider()->createApproxTexture(desc));
GrTestTarget tt;
GrRenderTarget* rt = texture->asRenderTarget();
- ctxInfo.fGrContext->getTestTarget(&tt, rt);
+ ctxInfo.grContext()->getTestTarget(&tt, rt);
GrDrawTarget* dt = tt.target();
GrResourceProvider* rp = tt.resourceProvider();