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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/ImageDecoder.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/ImageDecoder.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp
index 52d9298feebe7fe063c31fef52fb0ea9ba93f7c7..97af0485ac8bf50f46ba0782bb227b80ccee45f1 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/ImageDecoder.cpp
@@ -272,7 +272,7 @@ Vector<size_t> ImageDecoder::findFramesToDecode(size_t index) const {
Vector<size_t> framesToDecode;
do {
- framesToDecode.append(index);
+ framesToDecode.push_back(index);
index = m_frameBufferCache[index].requiredPreviousFrameIndex();
} while (index != kNotFound &&
m_frameBufferCache[index].getStatus() != ImageFrame::FrameComplete);

Powered by Google App Engine
This is Rietveld 408576698