Index: src/effects/SkOffsetImageFilter.cpp |
diff --git a/src/effects/SkOffsetImageFilter.cpp b/src/effects/SkOffsetImageFilter.cpp |
index c4fc5ebe304eea1eb02da771489527221376515f..e39c8d25062fd0888aa8844177e1be9ee0650b3f 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; |
} |