Revert "Fix external SkImageFilter caching with clips."

This reverts commit ffa9b500d7.

R=reed@google.com
TBR=reed@google.com
NOTRY=True
NOTREECHECKS=True

Author: senorblanco@chromium.org

Review URL: https://codereview.chromium.org/340413004
This commit is contained in:
senorblanco 2014-06-19 13:23:26 -07:00 committed by Commit bot
parent 3935a7bfe6
commit 9efd66b845

View File

@ -122,16 +122,6 @@ bool SkImageFilter::filterBounds(const SkIRect& src, const SkMatrix& ctm,
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);
}