Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(972)

Unified Diff: src/core/SkPaintPriv.cpp

Issue 402613003: Remove use of SK_SUPPORT_LEGACY_LAYERRASTERIZER_API. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/effects/SkLayerRasterizer.h ('k') | src/effects/SkLayerRasterizer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « include/effects/SkLayerRasterizer.h ('k') | src/effects/SkLayerRasterizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698