Revert "Fix external SkImageFilter caching with clips."
This reverts commit ffa9b500d7e83e7dddf6a8902f47c4355b608c30.
R=reed@google.com
TBR=reed@google.com
NOTRY=True
NOTREECHECKS=True
Author: senorblanco@chromium.org
Review URL: https://codereview.chromium.org/340413004
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp
index 4c4b56b..6356c1a 100644
--- a/src/core/SkImageFilter.cpp
+++ b/src/core/SkImageFilter.cpp
@@ -122,16 +122,6 @@
SkIRect* dst) const {
SkASSERT(&src);
SkASSERT(dst);
- if (SkImageFilter::GetExternalCache()) {
- /*
- * When the external cache is active, do not intersect the saveLayer
- * bounds with the clip bounds. This is so that the cached result
- * is always the full size of the primitive's bounds,
- * regardless of the clip active on first draw.
- */
- *dst = SkIRect::MakeLargest();
- return true;
- }
return this->onFilterBounds(src, ctm, dst);
}