Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index ae21a3535ec70440ad30748ac24f2db1867f549b..e80504cd394e5f2cdebdf6ae2759ec315a586405 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -952,11 +952,7 @@ bool SkCanvas::isDrawingToLayer() const { |
// can't draw it if its empty, or its too big for a fixed-point width or height |
static bool reject_bitmap(const SkBitmap& bitmap) { |
- return bitmap.width() <= 0 || bitmap.height() <= 0 |
-#ifndef SK_ALLOW_OVER_32K_BITMAPS |
- || bitmap.width() > 32767 || bitmap.height() > 32767 |
-#endif |
- ; |
+ return bitmap.width() <= 0 || bitmap.height() <= 0; |
} |
void SkCanvas::internalDrawBitmap(const SkBitmap& bitmap, const SkIRect* srcRect, |