diff options
Diffstat (limited to 'tools/gpu/ProxyUtils.cpp')
-rw-r--r-- | tools/gpu/ProxyUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpu/ProxyUtils.cpp b/tools/gpu/ProxyUtils.cpp index 64af648068..dab3ca6b82 100644 --- a/tools/gpu/ProxyUtils.cpp +++ b/tools/gpu/ProxyUtils.cpp @@ -18,7 +18,7 @@ sk_sp<GrTextureProxy> MakeTextureProxyFromData(GrContext* context, bool isRT, in GrColorType ct, GrSRGBEncoded srgbEncoded, GrSurfaceOrigin origin, const void* data, size_t rowBytes) { - if (context->contextPriv().abandoned()) { + if (context->abandoned()) { return nullptr; } |