Index: tests/ResourceCacheTest.cpp |
diff --git a/tests/ResourceCacheTest.cpp b/tests/ResourceCacheTest.cpp |
index f0e7bfa28428837dfceabcf113d9c89f459155ef..6f1d40450c72456e7e14b4eae89736ff9af8b3e0 100644 |
--- a/tests/ResourceCacheTest.cpp |
+++ b/tests/ResourceCacheTest.cpp |
@@ -181,7 +181,7 @@ static void test_wrapped_resources(skiatest::Reporter* reporter, GrContext* cont |
GrTestTarget tt; |
context->getTestTarget(&tt); |
- const GrGLInterface* gl = tt.glInterface(); |
+ const GrGLInterface* gl = tt.glContext()->interface(); |
if (!gl) { |
return; |
} |