| Index: third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.cpp
|
| diff --git a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.cpp b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.cpp
|
| index 103d6d376dcc7297be31099765f560611429fa8a..d0e22e8ac46f6affa44664e3f3a5d3f451b1d25f 100644
|
| --- a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.cpp
|
| +++ b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.cpp
|
| @@ -335,7 +335,7 @@ bool GIFFrameContext::decode(blink::FastSharedBufferReader* reader, blink::GIFIm
|
|
|
| m_lzwContext = adoptPtr(new GIFLZWContext(client, this));
|
| if (!m_lzwContext->prepareToDecode()) {
|
| - m_lzwContext.clear();
|
| + m_lzwContext.reset();
|
| return false;
|
| }
|
|
|
| @@ -365,7 +365,7 @@ bool GIFFrameContext::decode(blink::FastSharedBufferReader* reader, blink::GIFIm
|
| // There will be no more decoding for this frame so it's time to cleanup.
|
| if (isComplete()) {
|
| *frameDecoded = true;
|
| - m_lzwContext.clear();
|
| + m_lzwContext.reset();
|
| }
|
| return true;
|
| }
|
|
|