aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GpuLayerCacheTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GpuLayerCacheTest.cpp')
-rw-r--r--tests/GpuLayerCacheTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/GpuLayerCacheTest.cpp b/tests/GpuLayerCacheTest.cpp
index eea81db385..9c6d9e2e3d 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);