diff options
Diffstat (limited to 'tests/BitmapTest.cpp')
-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); } |