diff options
author | sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-18 14:13:10 +0000 |
---|---|---|
committer | sugoi@google.com <sugoi@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-18 14:13:10 +0000 |
commit | f738cf0689bc3f823158e29d0ba9693d89f21c93 (patch) | |
tree | 47cd50417814101c67f2cb8c7534b37895ef7b81 /forth | |
parent | 423ac13f351b22308d3b1d039ab4859540be0b9d (diff) |
Adding a bit of rebustness to SkRectShaderImageFilter
Since SkRectShaderImageFilter is an image filter, I added logic so that it can actually use the size of an input image as the rect if an empty rect is provided as an argument. I also added logic to prevent creating an empty device.
Review URL: https://codereview.chromium.org/14093008
git-svn-id: http://skia.googlecode.com/svn/trunk@8739 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'forth')
0 files changed, 0 insertions, 0 deletions