diff options
author | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-10 14:23:34 +0000 |
---|---|---|
committer | senorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-10 14:23:34 +0000 |
commit | 58d518b6820b4a73b7f2d8ab4233687e0ea952ad (patch) | |
tree | ec26057af2ddbe4574f992fc17c867ce64d3ac3e /skia/ext/image_operations_unittest.cc | |
parent | 54f11545dabe73d353b14475bf0ca4ee74bec4ea (diff) | |
download | chromium_src-58d518b6820b4a73b7f2d8ab4233687e0ea952ad.zip chromium_src-58d518b6820b4a73b7f2d8ab4233687e0ea952ad.tar.gz chromium_src-58d518b6820b4a73b7f2d8ab4233687e0ea952ad.tar.bz2 |
Enable skia asserts. They were disabled some time ago due to
http://crbug.com/6372, which has since been fixed. Some existing asserts were
failing due to having been untested, and were fixed in this CL.
BUG=http://crbug.com/6373.
TEST=unit tests, layout tests, etc do not assert
Review URL: http://codereview.chromium.org/165223
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22916 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/image_operations_unittest.cc')
-rw-r--r-- | skia/ext/image_operations_unittest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/skia/ext/image_operations_unittest.cc b/skia/ext/image_operations_unittest.cc index 5066683..dbf4fce 100644 --- a/skia/ext/image_operations_unittest.cc +++ b/skia/ext/image_operations_unittest.cc @@ -204,10 +204,10 @@ TEST(ImageOperations, CreateMaskedBitmap) { alpha.allocPixels(); for (int y = 0, i = 0; y < src_h; y++) { for (int x = 0; x < src_w; x++) { - *alpha.getAddr32(x, y) = SkColorSetARGB(i + 128 % 255, - i + 128 % 255, - i + 64 % 255, - i + 0 % 255); + *alpha.getAddr32(x, y) = SkColorSetARGB((i + 128) % 255, + (i + 128) % 255, + (i + 64) % 255, + (i + 0) % 255); i++; } } |