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

Unified Diff: src/core/SkPaintPriv.cpp

Issue 342843002: Revert of remove guarded code - there are no more callers (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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 | « src/core/SkCanvas.cpp ('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 3e484de1a8009f2cd3aace89c12c4df2fa896961..a8b52e998c7b789e3ad5fe426d71888e04321924 100644
--- a/src/core/SkPaintPriv.cpp
+++ b/src/core/SkPaintPriv.cpp
@@ -89,6 +89,9 @@
#ifdef SK_SUPPORT_LEGACY_SHADER_LOCALMATRIX
|| paint.getShader()
#endif
+#ifdef SK_SUPPORT_LEGACY_LAYERRASTERIZER_API
+ || paint.getRasterizer()
+#endif
|| paint.getImageFilter()
;
}
« no previous file with comments | « src/core/SkCanvas.cpp ('k') | src/effects/SkLayerRasterizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698