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

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

Issue 2615813003: Migrate WTF::Vector::append() to ::push_back() [part 14 of N] (Closed)
Patch Set: rebase, small fix in FontSettings.h Created 3 years, 11 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 24003b75ebf983346e7fcc8e8d363aec0076337f..dabfd44213c9eee05cf38367e7e83f13748523c0 100644
--- a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageReader.cpp
@@ -834,7 +834,7 @@ void GIFImageReader::setRemainingBytes(size_t remainingBytes) {
void GIFImageReader::addFrameIfNecessary() {
if (m_frames.isEmpty() || m_frames.back()->isComplete())
- m_frames.append(WTF::wrapUnique(new GIFFrameContext(m_frames.size())));
+ m_frames.push_back(WTF::wrapUnique(new GIFFrameContext(m_frames.size())));
}
// FIXME: Move this method to close to doLZW().

Powered by Google App Engine
This is Rietveld 408576698