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/GrTextureRenderTargetProxy.cpp b/src/gpu/GrTextureRenderTargetProxy.cpp
index e73fe15..ae70c0f 100644
--- a/src/gpu/GrTextureRenderTargetProxy.cpp
+++ b/src/gpu/GrTextureRenderTargetProxy.cpp
@@ -114,8 +114,8 @@
}
// TODO: do we have enough information to improve this worst case estimate?
- return GrSurface::ComputeSize(this->config(), caps, this->backendFormat(), this->width(),
- this->height(), colorSamplesPerPixel, this->proxyMipMapped(),
+ return GrSurface::ComputeSize(caps, this->backendFormat(), this->width(), this->height(),
+ colorSamplesPerPixel, this->proxyMipMapped(),
!this->priv().isExact());
}