diff options
Diffstat (limited to 'gm/flippity.cpp')
-rw-r--r-- | gm/flippity.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gm/flippity.cpp b/gm/flippity.cpp index f4358382c3..93813b943f 100644 --- a/gm/flippity.cpp +++ b/gm/flippity.cpp @@ -12,6 +12,7 @@ #if SK_SUPPORT_GPU +#include "GrContextPriv.h" #include "SkImage_Gpu.h" static const int kNumMatrices = 6; @@ -129,9 +130,10 @@ static sk_sp<SkImage> make_reference_image(GrContext* context, } } - sk_sp<GrTextureProxy> proxy = GrSurfaceProxy::MakeDeferred(context->resourceProvider(), - desc, SkBudgeted::kYes, - bm.getPixels(), bm.rowBytes()); + sk_sp<GrTextureProxy> proxy = GrSurfaceProxy::MakeDeferred( + context->contextPriv().proxyProvider(), + desc, SkBudgeted::kYes, + bm.getPixels(), bm.rowBytes()); if (!proxy) { return nullptr; } |