diff options
author | bsalomon <bsalomon@google.com> | 2016-05-11 06:33:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-11 06:33:06 -0700 |
commit | 8b7451aaf6b1c71e9d343a4df107893db277b6aa (patch) | |
tree | b1416c3e9a154a74ff004135d41b5eefd68c0ed9 /tests/TextBlobCacheTest.cpp | |
parent | 70142347f7b4ef49745e828d93026fc153a72845 (diff) |
Turn ContextInfos returned by GrContextFactory into structs.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1966013002
Review-Url: https://codereview.chromium.org/1966013002
Diffstat (limited to 'tests/TextBlobCacheTest.cpp')
-rw-r--r-- | tests/TextBlobCacheTest.cpp | 8 |
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 |