Index: tests/ARGBImageEncoderTest.cpp |
diff --git a/tests/ARGBImageEncoderTest.cpp b/tests/ARGBImageEncoderTest.cpp |
index 18f315fca9bf05a782120ecd8f151ccad784c61e..4d16f4cc6d5cabeab7a0dc977de4804cfefd6e94 100644 |
--- a/tests/ARGBImageEncoderTest.cpp |
+++ b/tests/ARGBImageEncoderTest.cpp |
@@ -35,9 +35,8 @@ DEF_TEST(ARGBImageEncoder, reporter) { |
// A bitmap that should generate the above bytes: |
SkBitmap bitmap; |
{ |
- bool success = bitmap.allocPixels(SkImageInfo::Make(kWidth, kHeight, |
- gColorTypes[ctIndex], kOpaque_SkAlphaType)); |
- REPORTER_ASSERT(reporter, success); |
+ bitmap.allocPixels(SkImageInfo::Make(kWidth, kHeight, gColorTypes[ctIndex], |
+ kOpaque_SkAlphaType)); |
bitmap.eraseColor(SK_ColorBLUE); |
// Change rows [0,1] from blue to [red,green]. |
SkCanvas canvas(bitmap); |