From 7e73108a371dfb1dfa05f0810d5463d94bfa06b7 Mon Sep 17 00:00:00 2001 From: djsollen Date: Thu, 9 Jun 2016 13:07:13 -0700 Subject: Cleanup needed to use WindowContext for Android GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2055693003 Review-Url: https://codereview.chromium.org/2055693003 --- tools/viewer/sk_app/WindowContext.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/viewer') diff --git a/tools/viewer/sk_app/WindowContext.h b/tools/viewer/sk_app/WindowContext.h index 1fd921afb2..fdd847445c 100644 --- a/tools/viewer/sk_app/WindowContext.h +++ b/tools/viewer/sk_app/WindowContext.h @@ -42,6 +42,7 @@ public: } virtual GrBackendContext getBackendContext() = 0; + GrContext* getGrContext() const { return fContext; } sk_sp createRenderSurface(sk_sp, int colorBits); void presentRenderSurface(sk_sp renderSurface, sk_sp rt, -- cgit v1.2.3