Index: src/image/SkSurface.cpp |
diff --git a/src/image/SkSurface.cpp b/src/image/SkSurface.cpp |
index 13b7d65546172c604f0ff257838fde8062470e37..7587f25284f8e589aeaa11f372df1c928a57a8a9 100644 |
--- a/src/image/SkSurface.cpp |
+++ b/src/image/SkSurface.cpp |
@@ -175,15 +175,6 @@ bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t d |
return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); |
} |
-bool SkSurface::readPixels(SkBitmap* dst, const SkIRect* srcRect) { |
- SkIRect storage; |
- if (NULL == srcRect) { |
- storage.set(0, 0, this->width(), this->height()); |
- srcRect = &storage; |
- } |
- return this->getCanvas()->readPixels(*srcRect, dst); |
-} |
- |
////////////////////////////////////////////////////////////////////////////////////// |
#ifdef SK_SUPPORT_LEGACY_TEXTRENDERMODE |