Index: tests/CachedDecodingPixelRefTest.cpp |
diff --git a/tests/CachedDecodingPixelRefTest.cpp b/tests/CachedDecodingPixelRefTest.cpp |
index 65623d0e4f9b0e7527e445353046959f3e6a9be9..7c63a0e9255931cb91197bd7440f415b0f0c15a4 100644 |
--- a/tests/CachedDecodingPixelRefTest.cpp |
+++ b/tests/CachedDecodingPixelRefTest.cpp |
@@ -348,8 +348,7 @@ DEF_TEST(Image_NewFromGenerator, r) { |
REPORTER_ASSERT(r, TestImageGenerator::Height() == image->height()); |
SkBitmap bitmap; |
- SkAssertResult(bitmap.allocN32Pixels(TestImageGenerator::Width(), |
- TestImageGenerator::Height())); |
+ bitmap.allocN32Pixels(TestImageGenerator::Width(), TestImageGenerator::Height()); |
SkCanvas canvas(bitmap); |
const SkColor kDefaultColor = 0xffabcdef; |
canvas.clear(kDefaultColor); |