diff options
Diffstat (limited to 'tests/ClearTest.cpp')
-rw-r--r-- | tests/ClearTest.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ClearTest.cpp b/tests/ClearTest.cpp index 7424c5a3b5..429b9e1d5d 100644 --- a/tests/ClearTest.cpp +++ b/tests/ClearTest.cpp @@ -42,8 +42,9 @@ static bool check_rect(GrRenderTargetContext* rtc, const SkIRect& rect, uint32_t } sk_sp<GrRenderTargetContext> newRTC(GrContext* context, int w, int h) { - return context->makeDeferredRenderTargetContext(SkBackingFit::kExact, w, h, - kRGBA_8888_GrPixelConfig, nullptr); + return context->contextPriv().makeDeferredRenderTargetContext( + SkBackingFit::kExact, w, h, + kRGBA_8888_GrPixelConfig, nullptr); } static void clear_op_test(skiatest::Reporter* reporter, GrContext* context) { |