sk_gpu_test::MakeTextureProxyFromData -> MakeTextureProxyViewFromData

Change-Id: Ie55a147566ef68a64e3b03d8cab701e54dbf1f0d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/309780
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
diff --git a/tests/ReadWriteAlphaTest.cpp b/tests/ReadWriteAlphaTest.cpp
index 1f4fd02..1891dab 100644
--- a/tests/ReadWriteAlphaTest.cpp
+++ b/tests/ReadWriteAlphaTest.cpp
@@ -186,16 +186,13 @@
 
             auto origin = GrRenderable::kYes == renderable ? kBottomLeft_GrSurfaceOrigin
                                                            : kTopLeft_GrSurfaceOrigin;
-            auto proxy = sk_gpu_test::MakeTextureProxyFromData(
+            auto view = sk_gpu_test::MakeTextureProxyViewFromData(
                     dContext, renderable, origin,
                     {info.fColorType, info.fAlphaType, nullptr, X_SIZE, Y_SIZE}, rgbaData, 0);
-            if (!proxy) {
+            if (!view) {
                 continue;
             }
 
-            GrSwizzle swizzle = dContext->priv().caps()->getReadSwizzle(proxy->backendFormat(),
-                                                                      info.fColorType);
-            GrSurfaceProxyView view(std::move(proxy), origin, swizzle);
             auto sContext = GrSurfaceContext::Make(dContext, std::move(view), info.fColorType,
                                                    kPremul_SkAlphaType, nullptr);