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/ClearTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/ClearTest.cpp') diff --git a/tests/ClearTest.cpp b/tests/ClearTest.cpp index d227cb8073..64464aa18b 100644 --- a/tests/ClearTest.cpp +++ b/tests/ClearTest.cpp @@ -53,7 +53,7 @@ static bool reset_dc(sk_sp* dc, GrContext* context, int w, int h) } DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ClearBatch, reporter, ctxInfo) { - GrContext* context = ctxInfo.fGrContext; + GrContext* context = ctxInfo.grContext(); static const int kW = 10; static const int kH = 10; -- cgit v1.2.3