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/ClearTest.cpp b/tests/ClearTest.cpp
index c9e8e54..03bfc58 100644
--- a/tests/ClearTest.cpp
+++ b/tests/ClearTest.cpp
@@ -57,10 +57,9 @@
sk_sp<GrRenderTargetContext> newRTC(GrContext* context, int w, int h) {
const GrBackendFormat format =
- context->contextPriv().caps()->getBackendFormatFromColorType(kRGBA_8888_SkColorType);
- return context->contextPriv().makeDeferredRenderTargetContext(
- format, SkBackingFit::kExact, w, h,
- kRGBA_8888_GrPixelConfig, nullptr);
+ context->priv().caps()->getBackendFormatFromColorType(kRGBA_8888_SkColorType);
+ return context->priv().makeDeferredRenderTargetContext(format, SkBackingFit::kExact, w, h,
+ kRGBA_8888_GrPixelConfig, nullptr);
}
static void clear_op_test(skiatest::Reporter* reporter, GrContext* context) {