Rename GrContext::contextPriv to priv
Mechanical. This makes the priv() accessor the same for all the context types.
Change-Id: I40850eb05a33b8d7cc3eabdd42226d24b2ba58aa
Reviewed-on: https://skia-review.googlesource.com/c/189164
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
diff --git a/tests/GrPorterDuffTest.cpp b/tests/GrPorterDuffTest.cpp
index 6873fe8..611d675 100644
--- a/tests/GrPorterDuffTest.cpp
+++ b/tests/GrPorterDuffTest.cpp
@@ -28,7 +28,7 @@
static void test_lcd_coverage_fallback_case(skiatest::Reporter* reporter, const GrCaps& caps);
DEF_GPUTEST_FOR_NULLGL_CONTEXT(GrPorterDuff, reporter, ctxInfo) {
- const GrCaps& caps = *ctxInfo.grContext()->contextPriv().getGpu()->caps();
+ const GrCaps& caps = *ctxInfo.grContext()->priv().getGpu()->caps();
if (!caps.shaderCaps()->dualSourceBlendingSupport()) {
SK_ABORT("Null context does not support dual source blending.");
return;
@@ -982,9 +982,9 @@
return;
}
- GrGpu* gpu = ctx->contextPriv().getGpu();
- GrProxyProvider* proxyProvider = ctx->contextPriv().proxyProvider();
- const GrCaps& caps = *ctx->contextPriv().caps();
+ GrGpu* gpu = ctx->priv().getGpu();
+ GrProxyProvider* proxyProvider = ctx->priv().proxyProvider();
+ const GrCaps& caps = *ctx->priv().caps();
if (caps.shaderCaps()->dualSourceBlendingSupport()) {
SK_ABORT("Null context failed to honor request for no ARB_blend_func_extended.");
return;