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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.cpp

Issue 2011783002: Rename OwnPtr::clear() to reset() in platform/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/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;
}

Powered by Google App Engine
This is Rietveld 408576698