diff options
Diffstat (limited to 'gm/convexpolyeffect.cpp')
-rw-r--r-- | gm/convexpolyeffect.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gm/convexpolyeffect.cpp b/gm/convexpolyeffect.cpp index e06fa9792b..f16963967e 100644 --- a/gm/convexpolyeffect.cpp +++ b/gm/convexpolyeffect.cpp @@ -185,8 +185,7 @@ protected: SkAutoTUnref<GrDrawBatch> batch(new PolyBoundsBatch(p.getBounds(), 0xff000000)); - renderTargetContext->renderTargetContextPriv().testingOnly_drawBatch(grPaint, - batch); + renderTargetContext->priv().testingOnly_drawBatch(grPaint, batch); x += SkScalarCeilToScalar(path->getBounds().width() + kDX); } @@ -225,8 +224,7 @@ protected: SkAutoTUnref<GrDrawBatch> batch(new PolyBoundsBatch(rect, 0xff000000)); - renderTargetContext->renderTargetContextPriv().testingOnly_drawBatch(grPaint, - batch); + renderTargetContext->priv().testingOnly_drawBatch(grPaint, batch); x += SkScalarCeilToScalar(rect.width() + kDX); } |