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

Unified Diff: third_party/WebKit/Source/platform/FileChooser.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
« no previous file with comments | « third_party/WebKit/Source/platform/ContextMenu.h ('k') | third_party/WebKit/Source/platform/Language.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/FileChooser.cpp
diff --git a/third_party/WebKit/Source/platform/FileChooser.cpp b/third_party/WebKit/Source/platform/FileChooser.cpp
index 0c3420f8fa617bca8b722de5c20e8ad698e52ad2..2d0cc13ed79a39fe7a79bf7793f2a5d35c656489 100644
--- a/third_party/WebKit/Source/platform/FileChooser.cpp
+++ b/third_party/WebKit/Source/platform/FileChooser.cpp
@@ -63,7 +63,7 @@ void FileChooser::chooseFiles(const Vector<FileChooserFileInfo>& files) {
// FIXME: This is inelegant. We should not be looking at settings here.
Vector<String> paths;
for (unsigned i = 0; i < files.size(); ++i)
- paths.append(files[i].path);
+ paths.push_back(files[i].path);
if (m_settings.selectedFiles == paths)
return;
« no previous file with comments | « third_party/WebKit/Source/platform/ContextMenu.h ('k') | third_party/WebKit/Source/platform/Language.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698