commit | b07a94f1cba3976596ae1a7f23d8c2043ba353f3 | [log] [tgz] |
---|---|---|
author | reed <reed@chromium.org> | Wed Nov 19 05:03:18 2014 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Nov 19 05:03:18 2014 -0800 |
tree | 9c2d202dc47a62742f950cb9702abc5e4327cf34 | |
parent | b50612cbda6c289ac6d859810c37a2a03f0ae26a [diff] [blame] |
add roundOut that returns its result BUG=skia: Review URL: https://codereview.chromium.org/742663002
diff --git a/src/effects/SkPictureImageFilter.cpp b/src/effects/SkPictureImageFilter.cpp index 30fbac1..0c95b32 100644 --- a/src/effects/SkPictureImageFilter.cpp +++ b/src/effects/SkPictureImageFilter.cpp
@@ -81,9 +81,8 @@ } SkRect floatBounds; - SkIRect bounds; ctx.ctm().mapRect(&floatBounds, fCropRect); - floatBounds.roundOut(&bounds); + SkIRect bounds = floatBounds.roundOut(); if (!bounds.intersect(ctx.clipBounds())) { return false; }