aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/yuvtorgbeffect.cpp
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2016-10-27 15:13:22 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-10-27 20:01:05 +0000
commit693a540272a771c6b0830094c461397cb77543b1 (patch)
tree5509e7c05e8e12ae9f59d0e0018fe4c0f148f2d0 /gm/yuvtorgbeffect.cpp
parent130863ef51a2a94e5bdf87f344c0e892b2403985 (diff)
Rename renderTargetContextPriv to priv, and some more leftover DCs
API change is for non-public API. TBR=bsalomon@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4060 Change-Id: I5011d753c3c6d1145ff242eab6baff2ae0647ba3 Reviewed-on: https://skia-review.googlesource.com/4060 Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'gm/yuvtorgbeffect.cpp')
-rw-r--r--gm/yuvtorgbeffect.cpp6
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);
}
}
}