| Index: third_party/WebKit/Source/core/html/ImageDocument.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/ImageDocument.cpp b/third_party/WebKit/Source/core/html/ImageDocument.cpp
|
| index 1744b0f15100a28ee7ed3f094c4e649ef41e4ddd..a434d553edfa512118e0b2d52c4c777d62e29585 100644
|
| --- a/third_party/WebKit/Source/core/html/ImageDocument.cpp
|
| +++ b/third_party/WebKit/Source/core/html/ImageDocument.cpp
|
| @@ -148,7 +148,7 @@ void ImageDocumentParser::appendBytes(const char* data, size_t length) {
|
| return;
|
|
|
| if (document()->cachedImageResourceDeprecated()) {
|
| - RELEASE_ASSERT(length <= std::numeric_limits<unsigned>::max());
|
| + CHECK_LE(length, std::numeric_limits<unsigned>::max());
|
| // If decoding has already failed, there's no point in sending additional
|
| // data to the ImageResource.
|
| if (document()->cachedImageResourceDeprecated()->getStatus() !=
|
|
|