aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-12-23 19:53:29 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-23 19:53:29 -0800
commit0b70f45be88538d31183e4e0c3c6b33f4e82469b (patch)
tree8cc950e2ce71334530a98f12519b23d259c79a86 /src/effects
parent08e7047e6818edd799b6a8a96fafeb1dd3b90711 (diff)
remove dead flags
Diffstat (limited to 'src/effects')
-rw-r--r--src/effects/SkOffsetImageFilter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/effects/SkOffsetImageFilter.cpp b/src/effects/SkOffsetImageFilter.cpp
index c4fc5ebe30..e39c8d2506 100644
--- a/src/effects/SkOffsetImageFilter.cpp
+++ b/src/effects/SkOffsetImageFilter.cpp
@@ -20,11 +20,7 @@ bool SkOffsetImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& source,
SkIPoint* offset) const {
SkBitmap src = source;
SkIPoint srcOffset = SkIPoint::Make(0, 0);
-#ifdef SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION
- if (false) {
-#else
if (!cropRectIsSet()) {
-#endif
if (!this->filterInput(0, proxy, source, ctx, &src, &srcOffset)) {
return false;
}