diff options
Diffstat (limited to 'gm/yuvtorgbeffect.cpp')
-rw-r--r-- | gm/yuvtorgbeffect.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gm/yuvtorgbeffect.cpp b/gm/yuvtorgbeffect.cpp index 71f66f0f27..d094bdf4d1 100644 --- a/gm/yuvtorgbeffect.cpp +++ b/gm/yuvtorgbeffect.cpp @@ -125,8 +125,7 @@ protected: SkAutoTUnref<GrDrawBatch> batch( GrRectBatchFactory::CreateNonAAFill(GrColor_WHITE, viewMatrix, renderRect, nullptr, nullptr)); - renderTargetContext->renderTargetContextPriv().testingOnly_drawBatch(grPaint, - batch); + renderTargetContext->priv().testingOnly_drawBatch(grPaint, batch); } x += renderRect.width() + kTestPad; } @@ -238,8 +237,7 @@ protected: grPaint.addColorFragmentProcessor(fp); SkAutoTUnref<GrDrawBatch> batch(GrRectBatchFactory::CreateNonAAFill( GrColor_WHITE, viewMatrix, renderRect, nullptr, nullptr)); - renderTargetContext->renderTargetContextPriv().testingOnly_drawBatch(grPaint, - batch); + renderTargetContext->priv().testingOnly_drawBatch(grPaint, batch); } } } |