diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-31 07:01:36 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-12-31 07:01:36 +0000 |
commit | f5e1f63461d0a4dcb4bd5d0388ec6d392b97e5f0 (patch) | |
tree | 96e4cdc63d725f09f44ed22e8264242eec4b2ea7 /tests | |
parent | 4856964eae9cdb779baa08ef9e5646ccb9a3140d (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@12849 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/BitmapTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/BitmapTest.cpp b/tests/BitmapTest.cpp index aaa297e674..ef637f4738 100644 --- a/tests/BitmapTest.cpp +++ b/tests/BitmapTest.cpp @@ -16,7 +16,7 @@ static void test_bigwidth(skiatest::Reporter* reporter) { REPORTER_ASSERT(reporter, bm.setConfig(SkBitmap::kA8_Config, width, 1)); REPORTER_ASSERT(reporter, bm.setConfig(SkBitmap::kRGB_565_Config, width, 1)); - + // for a 4-byte config, this width will compute a rowbytes of 0x80000000, // which does not fit in a int32_t. setConfig should detect this, and fail. @@ -43,6 +43,6 @@ DEF_TEST(Bitmap, reporter) { REPORTER_ASSERT(reporter, SkToBool(width & height) != bm.empty()); } } - + test_bigwidth(reporter); } |