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

Unified Diff: third_party/WebKit/Source/core/frame/Location.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/Location.cpp
diff --git a/third_party/WebKit/Source/core/frame/Location.cpp b/third_party/WebKit/Source/core/frame/Location.cpp
index 37a04e2bf1476c82944909a7f96cffbcbb3a6f41..f034f905dafca2b9504b82bb52f2c1646b3d1b57 100644
--- a/third_party/WebKit/Source/core/frame/Location.cpp
+++ b/third_party/WebKit/Source/core/frame/Location.cpp
@@ -298,10 +298,10 @@ void Location::setLocation(const String& url,
V8DOMActivityLogger::currentActivityLoggerIfIsolatedWorld();
if (activityLogger) {
Vector<String> argv;
- argv.append("LocalDOMWindow");
- argv.append("url");
- argv.append(enteredDocument->url());
- argv.append(completedURL);
+ argv.push_back("LocalDOMWindow");
+ argv.push_back("url");
+ argv.push_back(enteredDocument->url());
+ argv.push_back(completedURL);
activityLogger->logEvent("blinkSetAttribute", argv.size(), argv.data());
}
m_frame->navigate(*currentWindow->document(), completedURL,
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp ('k') | third_party/WebKit/Source/core/frame/Navigator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698