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

Unified Diff: third_party/WebKit/Source/core/fileapi/FileList.cpp

Issue 2585283002: Migrate WTF::Vector::append() to ::push_back() [part 6 of N] (Closed)
Patch Set: Created 4 years 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/core/fileapi/FileList.cpp
diff --git a/third_party/WebKit/Source/core/fileapi/FileList.cpp b/third_party/WebKit/Source/core/fileapi/FileList.cpp
index d716a8a876c55dc6692bd290be386e5095c5d610..b3101235518ab5b3555a5ed70e4f7da1a7f9d9c6 100644
--- a/third_party/WebKit/Source/core/fileapi/FileList.cpp
+++ b/third_party/WebKit/Source/core/fileapi/FileList.cpp
@@ -40,9 +40,9 @@ Vector<String> FileList::pathsForUserVisibleFiles() const {
for (unsigned i = 0; i < m_files.size(); ++i) {
if (m_files[i]->getUserVisibility() == File::IsUserVisible) {
if (m_files[i]->hasBackingFile())
- paths.append(m_files[i]->path());
+ paths.push_back(m_files[i]->path());
else
- paths.append(m_files[i]->name());
+ paths.push_back(m_files[i]->name());
}
}
« no previous file with comments | « third_party/WebKit/Source/core/fileapi/FileList.h ('k') | third_party/WebKit/Source/core/fileapi/FileReaderLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698