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

Unified Diff: Source/WebCore/platform/image-decoders/webp/WEBPImageDecoder.cpp

Issue 8992026: Merge 102519 - WebPImageDecoder progressive decodes fail to decode valid images (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 9 years 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 | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/image-decoders/webp/WEBPImageDecoder.cpp
===================================================================
--- Source/WebCore/platform/image-decoders/webp/WEBPImageDecoder.cpp (revision 103268)
+++ Source/WebCore/platform/image-decoders/webp/WEBPImageDecoder.cpp (working copy)
@@ -125,7 +125,7 @@
if (status != VP8_STATUS_OK && status != VP8_STATUS_SUSPENDED)
return setFailed();
if (!WebPIDecGetRGB(m_decoder, &newLastVisibleRow, 0, 0, 0))
- return setFailed();
+ return false;
ASSERT(newLastVisibleRow >= 0);
ASSERT(newLastVisibleRow <= height);
}
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698