aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPaintPriv.cpp
diff options
context:
space:
mode:
authorGravatar dominikg <dominikg@chromium.org>2014-07-21 02:43:20 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-21 02:43:20 -0700
commit1bd6f7de5273f56a361a5b29ac9b448a525f0b9b (patch)
treecf72e0ea4b71c820fdc0863526e72a849503edc2 /src/core/SkPaintPriv.cpp
parent3d533ac917eaadf2fb3561f57d7266d8c0e665fd (diff)
Remove use of SK_SUPPORT_LEGACY_LAYERRASTERIZER_API.
Mozilla have removed any uses of the legacy API from their Moz2D code. Since they were the last users we know of, we can remove the legacy API. BUG=skia:2187 R=scroggo@google.com, reed@google.com Author: dominikg@chromium.org Review URL: https://codereview.chromium.org/402613003
Diffstat (limited to 'src/core/SkPaintPriv.cpp')
-rw-r--r--src/core/SkPaintPriv.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/SkPaintPriv.cpp b/src/core/SkPaintPriv.cpp
index 10ff95cee6..d7b3032227 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();
}