Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(412)

Unified Diff: tests/GpuLayerCacheTest.cpp

Issue 1966013002: Turn ContextInfos returned by GrContextFactory into structs. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Address comment Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/GpuDrawPathTest.cpp ('k') | tests/GrContextAbandonTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « tests/GpuDrawPathTest.cpp ('k') | tests/GrContextAbandonTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698