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

Unified Diff: third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp

Issue 2614663008: Migrate WTF::Vector::append() to ::push_back() [part 13 of N] (Closed)
Patch Set: 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/modules/filesystem/FileSystemCallbacks.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp b/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp
index 769aea171a562e01046180c28d2bd7e991e692bf..99752df622f03960d426d13de012dd3cc0e71f50 100644
--- a/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/FileSystemCallbacks.cpp
@@ -219,12 +219,13 @@ EntriesCallbacks::EntriesCallbacks(EntriesCallback* successCallback,
void EntriesCallbacks::didReadDirectoryEntry(const String& name,
bool isDirectory) {
if (isDirectory)
- m_entries.append(
+ m_entries.push_back(
DirectoryEntry::create(m_directoryReader->filesystem(),
DOMFilePath::append(m_basePath, name)));
else
- m_entries.append(FileEntry::create(m_directoryReader->filesystem(),
- DOMFilePath::append(m_basePath, name)));
+ m_entries.push_back(
+ FileEntry::create(m_directoryReader->filesystem(),
+ DOMFilePath::append(m_basePath, name)));
}
void EntriesCallbacks::didReadDirectoryEntries(bool hasMore) {

Powered by Google App Engine
This is Rietveld 408576698