Don't use SkRect::MakeLargest() for clip bounds in image filter tests.
authorsenorblanco <senorblanco@chromium.org>
Wed, 25 Nov 2015 18:32:18 +0000 (10:32 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 25 Nov 2015 18:32:18 +0000 (10:32 -0800)
commit8444913d2c32ceca8a0f22c9dd7537c615c39af7
tree5383c5aea0ecbb33ffcfddcc6515a2f869edd294
parent4a24398391536f7b176b44a8c45dc288655b4adb
Don't use SkRect::MakeLargest() for clip bounds in image filter tests.

Much of the Skia code dealing with clip bounds does not handle
overflow, so if we start doing any math on these rects, the code will
break. Use explicit reasonable values instead.

BUG=skia:

Review URL: https://codereview.chromium.org/1479563002
tests/ImageFilterTest.cpp