commit | ba036cc82b5a543a13cafd11a19ba0e3087fca38 | [log] [tgz] |
---|---|---|
author | senorblanco <senorblanco@chromium.org> | Mon Oct 27 13:38:12 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Oct 27 13:38:13 2014 -0700 |
tree | c7157eb624d51eaed59a349d5d219fe8bd2c5ed7 | |
parent | a9a80e5f427e02efe7289f3784cf047d12a0b5bd [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