Index: third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp |
diff --git a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp |
index 8c6f54013b3f445c0d0cc2fa5c83a3f7e57053df..2536f4b38888ebdc93bc6282715933fef501d556 100644 |
--- a/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp |
+++ b/third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp |
@@ -308,7 +308,7 @@ void ImageBitmapFactories::ImageBitmapLoader::ResolvePromiseOnOriginalThread( |
RejectPromise(); |
return; |
} |
- ASSERT(frame->width() && frame->height()); |
+ DCHECK(frame->width() && frame->height()); |
RefPtr<StaticBitmapImage> image = StaticBitmapImage::Create(std::move(frame)); |
image->SetOriginClean(true); |