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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp

Issue 2554693003: Migrate WTF::Vector::append() to ::push_back() [part 1 of N] (Closed)
Patch Set: rebase 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/bindings/core/v8/ScriptController.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
index 2cb464812d193f45d9af2872774b64190636e590..d6d58c058eb92b026696323618b1204c090df3ac 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
@@ -237,7 +237,7 @@ void ScriptController::registerExtensionIfNeeded(v8::Extension* extension) {
return;
}
v8::RegisterExtension(extension);
- registeredExtensions().append(extension);
+ registeredExtensions().push_back(extension);
}
void ScriptController::clearWindowProxy() {
@@ -447,7 +447,7 @@ void ScriptController::executeScriptInIsolatedWorld(
v8::Local<v8::Value> value;
if (!resultArray->Get(scriptState->context(), i).ToLocal(&value))
return;
- results->append(value);
+ results->push_back(value);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698