aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/TextBlobCacheTest.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-05-11 06:33:06 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-11 06:33:06 -0700
commit8b7451aaf6b1c71e9d343a4df107893db277b6aa (patch)
treeb1416c3e9a154a74ff004135d41b5eefd68c0ed9 /tests/TextBlobCacheTest.cpp
parent70142347f7b4ef49745e828d93026fc153a72845 (diff)
Turn ContextInfos returned by GrContextFactory into structs.
Diffstat (limited to 'tests/TextBlobCacheTest.cpp')
-rw-r--r--tests/TextBlobCacheTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/TextBlobCacheTest.cpp b/tests/TextBlobCacheTest.cpp
index 8f95cf00e7..23f45a4cad 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