Index: src/core/SkCanvas.cpp |
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp |
index 68afc187a235b2aa02015bf54f9f3a5069169d2e..d72ec7ffc965755af60554decdceb7949659ee51 100644 |
--- a/src/core/SkCanvas.cpp |
+++ b/src/core/SkCanvas.cpp |
@@ -2228,10 +2228,6 @@ void SkCanvas::onDrawPath(const SkPath& path, const SkPaint& paint) { |
} |
bool SkCanvas::canDrawBitmapAsSprite(SkScalar x, SkScalar y, int w, int h, const SkPaint& paint) { |
-#ifdef SK_SUPPORT_LEGACY_LAYER_BITMAP_IMAGEFILTERS |
- return false; |
-#endif |
- |
if (!paint.getImageFilter()) { |
return false; |
} |