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

Unified Diff: third_party/WebKit/Source/wtf/LinkedHashSet.h

Issue 2743743002: Migrate WTF::LinkedHashSet/ListHashSet::removeLast() to ::pop_back() (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/wtf/ListHashSet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/LinkedHashSet.h
diff --git a/third_party/WebKit/Source/wtf/LinkedHashSet.h b/third_party/WebKit/Source/wtf/LinkedHashSet.h
index 40f80f52cde82ca2da81758e036450528e82af5d..d9e742986b66f83fb16cd6daf998793a19a15237 100644
--- a/third_party/WebKit/Source/wtf/LinkedHashSet.h
+++ b/third_party/WebKit/Source/wtf/LinkedHashSet.h
@@ -241,7 +241,7 @@ class LinkedHashSet {
Value& back();
const Value& back() const;
- void removeLast();
+ void pop_back();
iterator find(ValuePeekInType);
const_iterator find(ValuePeekInType) const;
@@ -730,7 +730,7 @@ inline const T& LinkedHashSet<T, U, V, W>::back() const {
}
template <typename T, typename U, typename V, typename W>
-inline void LinkedHashSet<T, U, V, W>::removeLast() {
+inline void LinkedHashSet<T, U, V, W>::pop_back() {
DCHECK(!isEmpty());
m_impl.remove(static_cast<Node*>(m_anchor.m_prev));
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/wtf/ListHashSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698