Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 787d89d184a3a87ddf88be1a7aa1b6556f7aa313..8549dc3075e63be9ace1ab6c6a31545803faa62d 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -667,18 +667,6 @@ SkBaseDevice* SkCanvas::setRootDevice(SkBaseDevice* device) { |
return device; |
} |
-#ifdef SK_SUPPORT_LEGACY_READPIXELSCONFIG |
-bool SkCanvas::readPixels(SkBitmap* bitmap, |
- int x, int y, |
- Config8888 config8888) { |
- SkBaseDevice* device = this->getDevice(); |
- if (!device) { |
- return false; |
- } |
- return device->readPixels(bitmap, x, y, config8888); |
-} |
-#endif |
- |
bool SkCanvas::readPixels(SkBitmap* bitmap, int x, int y) { |
if (kUnknown_SkColorType == bitmap->colorType() || bitmap->getTexture()) { |
return false; |