Index: Source/WebCore/platform/image-decoders/gif/GIFImageReader.cpp |
=================================================================== |
--- Source/WebCore/platform/image-decoders/gif/GIFImageReader.cpp (revision 147572) |
+++ Source/WebCore/platform/image-decoders/gif/GIFImageReader.cpp (working copy) |
@@ -358,10 +358,8 @@ |
{ |
ASSERT(m_bytesRead <= m_data->size()); |
- if (!m_parseFailed && !parse(m_bytesRead, m_data->size() - m_bytesRead, query == GIFImageDecoder::GIFSizeQuery)) { |
- m_parseFailed = true; |
+ if (!parse(m_bytesRead, m_data->size() - m_bytesRead, query == GIFImageDecoder::GIFSizeQuery)) |
return false; |
- } |
if (query != GIFImageDecoder::GIFFullQuery) |
return true; |