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

Unified Diff: third_party/WebKit/Source/core/frame/RemoteFrame.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/frame/RemoteFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
index 730c0173cb6fe224b77de40146eb40aaaf9142c1..558aed7e956e07363603fffee4ddc80e5ebdc11c 100644
--- a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
@@ -193,7 +193,7 @@ void RemoteFrame::detachChildren() {
childrenToDetach.reserveCapacity(tree().childCount());
for (Frame* child = tree().firstChild(); child;
child = child->tree().nextSibling())
- childrenToDetach.append(child);
+ childrenToDetach.push_back(child);
for (const auto& child : childrenToDetach)
child->detach(FrameDetachType::Remove);
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/Navigator.cpp ('k') | third_party/WebKit/Source/core/frame/SmartClip.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698