aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GrCCPRTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GrCCPRTest.cpp')
-rw-r--r--tests/GrCCPRTest.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/GrCCPRTest.cpp b/tests/GrCCPRTest.cpp
index 35e3a1fde7..bbcf6706a7 100644
--- a/tests/GrCCPRTest.cpp
+++ b/tests/GrCCPRTest.cpp
@@ -33,11 +33,10 @@ public:
private:
bool apply(GrContext* context, GrRenderTargetContext* rtc, bool, bool, GrAppliedClip* out,
SkRect* bounds) const override {
- GrProxyProvider* proxyProvider = context->contextPriv().proxyProvider();
- out->addCoverageFP(fCCPR->makeClipProcessor(proxyProvider,
- rtc->priv().testingOnly_getOpListID(), fPath,
+ out->addCoverageFP(fCCPR->makeClipProcessor(rtc->priv().testingOnly_getOpListID(), fPath,
SkIRect::MakeWH(rtc->width(), rtc->height()),
- rtc->width(), rtc->height()));
+ rtc->width(), rtc->height(),
+ *context->contextPriv().caps()));
return true;
}
bool quickContains(const SkRect&) const final { return false; }