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

Unified Diff: tests/TextBlobCacheTest.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/TestTest.cpp ('k') | tests/VkClearTests.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/TextBlobCacheTest.cpp
diff --git a/tests/TextBlobCacheTest.cpp b/tests/TextBlobCacheTest.cpp
index 8f95cf00e755dc8122e158ef9e68f465460a51d0..23f45a4cad22b57ddd7626a6ad69f4bd87669b01 100644
--- a/tests/TextBlobCacheTest.cpp
+++ b/tests/TextBlobCacheTest.cpp
@@ -157,18 +157,18 @@ static void text_blob_cache_inner(skiatest::Reporter* reporter, GrContext* conte
}
DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobCache, reporter, ctxInfo) {
- text_blob_cache_inner(reporter, ctxInfo.fGrContext, 1024, 256, 30, true, false);
+ text_blob_cache_inner(reporter, ctxInfo.grContext(), 1024, 256, 30, true, false);
}
DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobStressCache, reporter, ctxInfo) {
- text_blob_cache_inner(reporter, ctxInfo.fGrContext, 256, 256, 10, true, true);
+ text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, true, true);
}
DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobAbnormal, reporter, ctxInfo) {
- text_blob_cache_inner(reporter, ctxInfo.fGrContext, 256, 256, 10, false, false);
+ text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, false, false);
}
DEF_GPUTEST_FOR_NULLGL_CONTEXT(TextBlobStressAbnormal, reporter, ctxInfo) {
- text_blob_cache_inner(reporter, ctxInfo.fGrContext, 256, 256, 10, false, true);
+ text_blob_cache_inner(reporter, ctxInfo.grContext(), 256, 256, 10, false, true);
}
#endif
« no previous file with comments | « tests/TestTest.cpp ('k') | tests/VkClearTests.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698