| Index: third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.h
|
| diff --git a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.h b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.h
|
| index 617237748daf1301c826d29adf29d76c067e70cd..bfa98974ed8578b43821d4738abbdb4a9cf0657f 100644
|
| --- a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.h
|
| +++ b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.h
|
| @@ -40,7 +40,6 @@
|
|
|
| // Define ourselves as the clientPtr. Mozilla just hacked their C++ callback class into this old C decoder,
|
| // so we will too.
|
| -#include "platform/SharedBuffer.h"
|
| #include "platform/image-decoders/FastSharedBufferReader.h"
|
| #include "platform/image-decoders/gif/GIFImageDecoder.h"
|
| #include "wtf/Allocator.h"
|
| @@ -299,7 +298,7 @@ public:
|
| {
|
| }
|
|
|
| - void setData(PassRefPtr<blink::SharedBuffer> data) { m_data = data; }
|
| + void setData(PassRefPtr<blink::SegmentReader> data) { m_data = data; }
|
| bool parse(blink::GIFImageDecoder::GIFParseQuery);
|
| bool decode(size_t frameIndex);
|
|
|
| @@ -356,7 +355,7 @@ private:
|
|
|
| Vector<OwnPtr<GIFFrameContext>> m_frames;
|
|
|
| - RefPtr<blink::SharedBuffer> m_data;
|
| + RefPtr<blink::SegmentReader> m_data;
|
| bool m_parseCompleted;
|
| };
|
|
|
|
|