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 d27f49109a52735d54cb3dfe0fe43a06960614d4..aca5533bb18256f4104464c3d7f67b98b32d0b56 100644 |
--- a/third_party/WebKit/Source/core/html/ImageDocument.cpp |
+++ b/third_party/WebKit/Source/core/html/ImageDocument.cpp |
@@ -144,9 +144,7 @@ |
if (document()->cachedImage()) { |
RELEASE_ASSERT(length <= std::numeric_limits<unsigned>::max()); |
- // If decoding has already failed, there's no point in sending additional data to the ImageResource. |
- if (document()->cachedImage()->getStatus() != Resource::DecodeError) |
- document()->cachedImage()->appendData(data, length); |
+ document()->cachedImage()->appendData(data, length); |
} |
if (!isDetached()) |