Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: Source/WebCore/platform/image-decoders/gif/GIFImageDecoder.cpp

Issue 13578002: Merge 147392 "Simply GIFImageReader error handling" (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1453/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/WebCore/platform/image-decoders/gif/GIFImageReader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/image-decoders/gif/GIFImageDecoder.cpp
===================================================================
--- Source/WebCore/platform/image-decoders/gif/GIFImageDecoder.cpp (revision 147572)
+++ Source/WebCore/platform/image-decoders/gif/GIFImageDecoder.cpp (working copy)
@@ -106,7 +106,7 @@
// see the loop count and then encounter a decoding error which happens
// later in the stream. It is also possible that no frames are in the
// stream. In these cases we should just loop once.
- if (failed() || (m_reader && (!m_reader->imagesCount() || m_reader->parseFailed())))
+ if (failed() || (m_reader && (!m_reader->imagesCount())))
m_repetitionCount = cAnimationLoopOnce;
else if (m_reader && m_reader->loopCount() != cLoopCountNotSeen)
m_repetitionCount = m_reader->loopCount();
« no previous file with comments | « no previous file | Source/WebCore/platform/image-decoders/gif/GIFImageReader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698