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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.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/InspectorDOMDebuggerAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp
index 437b7d831c336f6445c8d40206677beafe98abd1..c812d34cf3cf6a0c5851c719b7cd97221c48fcbf 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp
@@ -215,7 +215,7 @@ void InspectorDOMDebuggerAgent::eventListenersInfoForTarget(
if (handler.IsEmpty())
continue;
bool useCapture = listeners->at(k).capture();
- eventInformation.append(V8EventListenerInfo(
+ eventInformation.push_back(V8EventListenerInfo(
type, useCapture, listeners->at(k).passive(), listeners->at(k).once(),
handler,
createRemoveFunction(context, value, handler, type, useCapture)));
@@ -375,8 +375,8 @@ void InspectorDOMDebuggerAgent::didRemoveDOMNode(Node* node) {
if (!node)
continue;
m_domBreakpoints.remove(node);
- stack.append(InspectorDOMAgent::innerFirstChild(node));
- stack.append(InspectorDOMAgent::innerNextSibling(node));
+ stack.push_back(InspectorDOMAgent::innerFirstChild(node));
+ stack.push_back(InspectorDOMAgent::innerNextSibling(node));
} while (!stack.isEmpty());
}
}

Powered by Google App Engine
This is Rietveld 408576698