Index: src/core/SkPaintPriv.cpp |
diff --git a/src/core/SkPaintPriv.cpp b/src/core/SkPaintPriv.cpp |
index 10ff95cee6edd42af014f2d38a6b9a3b74a6f843..d7b3032227dd94698236876dfb43e767ca3566d6 100644 |
--- a/src/core/SkPaintPriv.cpp |
+++ b/src/core/SkPaintPriv.cpp |
@@ -85,10 +85,5 @@ bool NeedsDeepCopy(const SkPaint& paint) { |
* Eventually we hope this list will be empty, and we can always return |
* false. |
*/ |
- return false |
-#ifdef SK_SUPPORT_LEGACY_LAYERRASTERIZER_API |
- || paint.getRasterizer() |
-#endif |
- || paint.getImageFilter() |
- ; |
+ return paint.getImageFilter(); |
} |