diff options
author | 2015-05-20 00:52:17 -0700 | |
---|---|---|
committer | 2015-05-20 00:52:17 -0700 | |
commit | d8b57717793f069db2ccd7c8174d0822bd7de6e1 (patch) | |
tree | 54dd4fd723fbb03b7b27d9036b5f41d820657343 /platform_tools/ios | |
parent | 8debd89f6360dbf4b19c17e32bb0328bd7a08576 (diff) |
Don't fail SkMergeImageFilter if one of the inputs are empty
If one of the inputs to a SkMergeImageFilter was clipped away or
otherwise caused the filterImage(...) invocation for it to return
false, the entire effect would be "failed" and return false --
regardless of if it had produced a result or not.
Instead of returning false directly if filterImage(...) for a source
returned false, consider all the inputs, and then only return false if
all of them do.
BUG=chromium:489046
Review URL: https://codereview.chromium.org/1133523006
Diffstat (limited to 'platform_tools/ios')
0 files changed, 0 insertions, 0 deletions