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

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

Issue 2502413004: WTF/std normalization: replace WTF::Vector::last with ::back (Closed)
Patch Set: rebase Created 4 years, 1 month 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 1b467b0cba8fbede49f47af5e965ac902f657374..ca825b2a4d750403bbe534736a38a797efc11ed3 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.cpp
@@ -370,7 +370,7 @@ void InspectorDOMDebuggerAgent::didRemoveDOMNode(Node* node) {
m_domBreakpoints.remove(node);
HeapVector<Member<Node>> stack(1, InspectorDOMAgent::innerFirstChild(node));
do {
- Node* node = stack.last();
+ Node* node = stack.back();
stack.pop_back();
if (!node)
continue;

Powered by Google App Engine
This is Rietveld 408576698