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

Unified Diff: third_party/WebKit/Source/core/dom/TreeScope.cpp

Issue 2459003003: WTF/std normalization: replace WTF::Vector::removeLast with ::pop_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/dom/TreeScope.cpp
diff --git a/third_party/WebKit/Source/core/dom/TreeScope.cpp b/third_party/WebKit/Source/core/dom/TreeScope.cpp
index d058a499ad873914f2fdf335fc7f84236f50983d..422de1a85924481fffd9b307750560cfd402d758 100644
--- a/third_party/WebKit/Source/core/dom/TreeScope.cpp
+++ b/third_party/WebKit/Source/core/dom/TreeScope.cpp
@@ -484,8 +484,8 @@ const TreeScope* TreeScope::commonAncestorTreeScope(
while (!thisChain.isEmpty() && !otherChain.isEmpty() &&
thisChain.last() == otherChain.last()) {
lastAncestor = thisChain.last();
- thisChain.removeLast();
- otherChain.removeLast();
+ thisChain.pop_back();
+ otherChain.pop_back();
}
return lastAncestor;
}

Powered by Google App Engine
This is Rietveld 408576698