Index: src/pdf/SkPDFImage.cpp |
diff --git a/src/pdf/SkPDFImage.cpp b/src/pdf/SkPDFImage.cpp |
index 49460510d9b6f4ef8eb140c3b4c147c0470779d1..0c9b7417a1d1254bca2cf618b182c75f87335b90 100644 |
--- a/src/pdf/SkPDFImage.cpp |
+++ b/src/pdf/SkPDFImage.cpp |
@@ -375,8 +375,7 @@ static uint16_t get_argb4444_neighbor_avg_color(const SkBitmap& bitmap, |
static SkBitmap unpremultiply_bitmap(const SkBitmap& bitmap, |
const SkIRect& srcRect) { |
SkBitmap outBitmap; |
- SkAssertResult(outBitmap.allocPixels( |
- bitmap.info().makeWH(srcRect.width(), srcRect.height()))); |
+ outBitmap.allocPixels(bitmap.info().makeWH(srcRect.width(), srcRect.height())); |
int dstRow = 0; |
SkAutoLockPixels outBitmapPixelLock(outBitmap); |