whole-word replace renderTargetContext with surfaceDrawContext
TBR:egdaniel@google.com
Change-Id: Ia471dfc1278bcbeb2b485e4deeb3e932060c50a6
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/343576
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/GrOnFlushResourceProvider.cpp b/src/gpu/GrOnFlushResourceProvider.cpp
index 42c8ba8..14fc516 100644
--- a/src/gpu/GrOnFlushResourceProvider.cpp
+++ b/src/gpu/GrOnFlushResourceProvider.cpp
@@ -32,17 +32,17 @@
return nullptr;
}
- auto renderTargetContext = GrSurfaceDrawContext::Make(
+ auto surfaceDrawContext = GrSurfaceDrawContext::Make(
context, colorType, std::move(colorSpace), std::move(proxy),
origin, props, true);
- if (!renderTargetContext) {
+ if (!surfaceDrawContext) {
return nullptr;
}
- renderTargetContext->discard();
+ surfaceDrawContext->discard();
- return renderTargetContext;
+ return surfaceDrawContext;
}
void GrOnFlushResourceProvider::addTextureResolveTask(sk_sp<GrTextureProxy> textureProxy,