commit | 8f3937d9fcb28018ec14db6697d41b645716d589 | [log] [tgz] |
---|---|---|
author | senorblanco <senorblanco@chromium.org> | Wed Oct 29 12:36:32 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Oct 29 12:36:32 2014 -0700 |
tree | e22ff14a48607de288266df4dff504c2b5156297 | |
parent | a5cf665997d73169e2f5260eaf9643af1f309762 [diff] |
Fix bounds computation of all 0-input filters. The SkRectShaderImageFilter had the same bug as previously fixed for SkBitmapSource and SkPictureImageFilter. Rather than copy-and-paste the implementation, this change makes all filters with 0 inputs return their source bounds, instead of returning false. BUG=427251 Review URL: https://codereview.chromium.org/681643003