Fix MatrixImageFilter computeFastBounds
authorrobertphillips <robertphillips@google.com>
Tue, 9 Dec 2014 13:28:24 +0000 (05:28 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 9 Dec 2014 13:28:24 +0000 (05:28 -0800)
commit8b7b9c2e804b54a8301363091f418cfeda719fe3
treef09824e10b654847514403877e1875cd5dddac8e
parentff3106c214a302ed11471521d86ca004b1d1297d
Fix MatrixImageFilter computeFastBounds

This CL makes the bounding box returned from SkMatrixImageFilter::computeFastBounds actually contain the final result pixels. This, in turn, fixes the first two rows of the filterfastbounds GM and the SVG web page cited in the bug.

BUG=418417

Review URL: https://codereview.chromium.org/785893004
src/effects/SkMatrixImageFilter.cpp