| Index: src/gpu/GrSurface.cpp
|
| diff --git a/src/gpu/GrSurface.cpp b/src/gpu/GrSurface.cpp
|
| index 47fa394788645434ce133e5ac0df8e54c9682330..6dc90a3d1aea07b0353601b9a5eb6f2977f66096 100644
|
| --- a/src/gpu/GrSurface.cpp
|
| +++ b/src/gpu/GrSurface.cpp
|
| @@ -116,15 +116,6 @@ bool GrSurface::readPixels(int left, int top, int width, int height,
|
| rowBytes, pixelOpsFlags);
|
| }
|
|
|
| -SkImageInfo GrSurface::info(SkAlphaType alphaType) const {
|
| - SkColorType colorType;
|
| - sk_sp<SkColorSpace> colorSpace;
|
| - if (!GrPixelConfigToColorAndColorSpace(this->config(), &colorType, &colorSpace)) {
|
| - sk_throw();
|
| - }
|
| - return SkImageInfo::Make(this->width(), this->height(), colorType, alphaType, colorSpace);
|
| -}
|
| -
|
| // TODO: This should probably be a non-member helper function. It might only be needed in
|
| // debug or developer builds.
|
| bool GrSurface::savePixels(const char* filename) {
|
|
|