Index: tests/GpuLayerCacheTest.cpp |
diff --git a/tests/GpuLayerCacheTest.cpp b/tests/GpuLayerCacheTest.cpp |
index eea81db38586162925e0d13a047eca9a45688198..9c6d9e2e3d935970baae4ee2729280f5e487e1f3 100644 |
--- a/tests/GpuLayerCacheTest.cpp |
+++ b/tests/GpuLayerCacheTest.cpp |
@@ -126,9 +126,9 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(GpuLayerCache, reporter, ctxInfo) { |
picture = recorder.finishRecordingAsPicture(); |
} |
- GrResourceCache* resourceCache = ctxInfo.fGrContext->getResourceCache(); |
+ GrResourceCache* resourceCache = ctxInfo.grContext()->getResourceCache(); |
- GrLayerCache cache(ctxInfo.fGrContext); |
+ GrLayerCache cache(ctxInfo.grContext()); |
create_layers(reporter, &cache, *picture, kInitialNumLayers, 0); |