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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h

Issue 2618633004: Add support for Animated PNG (Closed)
Patch Set: Reject bad data. Cleanups Created 3 years, 10 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
Index: third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h
index ee1e2a9d67292cce97dd46c607de0d5f69715869..b1548cfd37d6eab01817ca663e3123d983d3954e 100644
--- a/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.h
@@ -83,7 +83,7 @@ class PLATFORM_EXPORT WEBPImageDecoder final : public ImageDecoder {
// Set |m_frameBackgroundHasAlpha| based on this frame's characteristics.
// Before calling this method, the caller must verify that the frame exists.
- void onInitFrameBuffer(size_t frameIndex) override;
+ bool onInitFrameBuffer(size_t frameIndex) override;
// When the blending method of this frame is BlendAtopPreviousFrame, the
// previous frame's buffer is necessary to decode this frame in

Powered by Google App Engine
This is Rietveld 408576698