From 8b7451aaf6b1c71e9d343a4df107893db277b6aa Mon Sep 17 00:00:00 2001 From: bsalomon Date: Wed, 11 May 2016 06:33:06 -0700 Subject: 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 --- tests/TextBlobCacheTest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/TextBlobCacheTest.cpp') 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 -- cgit v1.2.3