Make GrGpu pixel ops functions take SkIRect instead of LTRB params.

Change-Id: Ic4a8a32a434485b84284decbcc5a8f898197169a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/408359
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/tests/GrSurfaceTest.cpp b/tests/GrSurfaceTest.cpp
index 79aae77..0f94d5e 100644
--- a/tests/GrSurfaceTest.cpp
+++ b/tests/GrSurfaceTest.cpp
@@ -389,9 +389,12 @@
         // Try the low level write.
         dContext->flushAndSubmit();
         auto gpuWriteResult = dContext->priv().getGpu()->writePixels(
-                proxy->peekTexture(), 0, 0, kSize, kSize, GrColorType::kRGBA_8888,
-                GrColorType::kRGBA_8888, write.addr32(),
-                kSize * GrColorTypeBytesPerPixel(GrColorType::kRGBA_8888));
+                proxy->peekTexture(),
+                SkIRect::MakeWH(kSize, kSize),
+                GrColorType::kRGBA_8888,
+                GrColorType::kRGBA_8888,
+                write.addr32(),
+                kSize*GrColorTypeBytesPerPixel(GrColorType::kRGBA_8888));
         REPORTER_ASSERT(reporter, gpuWriteResult == (ioType == kRW_GrIOType));
 
         SkBitmap copySrcBitmap;