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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorSession.cpp

Issue 2610383002: Migrate WTF::Vector::append() to ::push_back() [part 8 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/inspector/InspectorSession.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorSession.cpp b/third_party/WebKit/Source/core/inspector/InspectorSession.cpp
index 387a8189a7bbf2dbc829283e45e5381da53f18d3..a7a9374cc5e1d23cd374c2a11679f0d1382c67d0 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorSession.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorSession.cpp
@@ -53,7 +53,7 @@ InspectorSession::~InspectorSession() {
}
void InspectorSession::append(InspectorAgent* agent) {
- m_agents.append(agent);
+ m_agents.push_back(agent);
agent->init(m_instrumentingAgents.get(), m_inspectorBackendDispatcher.get(),
m_state.get());
}
@@ -161,7 +161,7 @@ void InspectorSession::sendProtocolNotification(
std::unique_ptr<protocol::Serializable> notification) {
if (m_disposed)
return;
- m_notificationQueue.append(
+ m_notificationQueue.push_back(
Notification::createForBlink(std::move(notification)));
}
@@ -169,7 +169,7 @@ void InspectorSession::sendNotification(
std::unique_ptr<v8_inspector::StringBuffer> notification) {
if (m_disposed)
return;
- m_notificationQueue.append(
+ m_notificationQueue.push_back(
Notification::createForV8(std::move(notification)));
}

Powered by Google App Engine
This is Rietveld 408576698