| Index: third_party/WebKit/Source/platform/graphics/ImageSource.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.cpp b/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
|
| index ccac03fb0562d51ee5719e936f8a29646d1135b0..b658b797297970a213008d22ef5d329c1261f502 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/ImageSource.cpp
|
| @@ -60,8 +60,7 @@ bool ImageSource::SetData(RefPtr<SharedBuffer> data, bool all_data_received) {
|
| ImageDecoder::kAlphaPremultiplied,
|
| decoder_color_behavior_);
|
|
|
| - // Insufficient data is not a failure.
|
| - return decoder_ || !ImageDecoder::HasSufficientDataToSniffImageType(*data);
|
| + return decoder_ ? true : false;
|
| }
|
|
|
| String ImageSource::FilenameExtension() const {
|
|
|