Remove GrPixelConfig version of CompressedDataSize.
Bug: skia:6718
Change-Id: I0f9c7d89e732c59bdbe76ab45d42934029106efb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/247684
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index de0f353..d56e249 100644
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -246,8 +246,7 @@
const GrCaps& caps = *gpuImage->context()->priv().caps();
int colorSamplesPerPixel = 1;
- return GrSurface::ComputeSize(SkColorType2GrPixelConfig(image->colorType()), caps,
- proxy->backendFormat(), image->width(), image->height(),
+ return GrSurface::ComputeSize(caps, proxy->backendFormat(), image->width(), image->height(),
colorSamplesPerPixel, mipMapped, useNextPow2);
}