| Index: third_party/WebKit/Source/core/frame/ImageBitmap.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/ImageBitmap.cpp b/third_party/WebKit/Source/core/frame/ImageBitmap.cpp
|
| index 0241feb6268fb4cff305aba4cc213765bae9fc5d..8d64e040611ec9345a2328ce2f1b92904ca401ea 100644
|
| --- a/third_party/WebKit/Source/core/frame/ImageBitmap.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/ImageBitmap.cpp
|
| @@ -1089,7 +1089,8 @@ bool ImageBitmap::IsAccelerated() const {
|
| IntSize ImageBitmap::Size() const {
|
| if (!image_)
|
| return IntSize();
|
| - ASSERT(image_->width() > 0 && image_->height() > 0);
|
| + DCHECK_GT(image_->width(), 0);
|
| + DCHECK_GT(image_->height(), 0);
|
| return IntSize(image_->width(), image_->height());
|
| }
|
|
|
|
|