| Index: src/effects/SkOffsetImageFilter.cpp
|
| diff --git a/src/effects/SkOffsetImageFilter.cpp b/src/effects/SkOffsetImageFilter.cpp
|
| index fc8e71c1d9c4c9faba4fe0ca72f9572c725d47f9..ecaf5e6b622ed1954d44cdcfb9ea4504f395934b 100644
|
| --- a/src/effects/SkOffsetImageFilter.cpp
|
| +++ b/src/effects/SkOffsetImageFilter.cpp
|
| @@ -19,7 +19,11 @@ bool SkOffsetImageFilter::onFilterImage(Proxy* proxy, const SkBitmap& source,
|
| SkIPoint* loc) {
|
| SkImageFilter* input = getInput(0);
|
| SkBitmap src = source;
|
| +#ifdef SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION
|
| + if (false) {
|
| +#else
|
| if (!cropRectIsSet()) {
|
| +#endif
|
| if (input && !input->filterImage(proxy, source, matrix, &src, loc)) {
|
| return false;
|
| }
|
|
|