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

Unified Diff: third_party/WebKit/Source/core/page/Page.cpp

Issue 2614033002: Migrate WTF::Vector::append() to ::push_back() [part 11 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/core/page/Page.cpp
diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp
index d167b5f208750bd5c1444989d5b409a3c7af3580..a635ac89f1090003fe12993e65e75618afae9404 100644
--- a/third_party/WebKit/Source/core/page/Page.cpp
+++ b/third_party/WebKit/Source/core/page/Page.cpp
@@ -82,7 +82,7 @@ void Page::networkStateChanged(bool online) {
// FIXME: There is currently no way to dispatch events to out-of-process
// frames.
if (frame->isLocalFrame())
- frames.append(toLocalFrame(frame));
+ frames.push_back(toLocalFrame(frame));
}
}
@@ -485,7 +485,7 @@ void Page::acceptLanguagesChanged() {
for (Frame* frame = mainFrame(); frame;
frame = frame->tree().traverseNext()) {
if (frame->isLocalFrame())
- frames.append(toLocalFrame(frame));
+ frames.push_back(toLocalFrame(frame));
}
for (unsigned i = 0; i < frames.size(); ++i)
« no previous file with comments | « third_party/WebKit/Source/core/page/NetworkStateNotifier.cpp ('k') | third_party/WebKit/Source/core/page/PageAnimator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698