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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.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/dom/custom/CustomElementDefinition.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp
index 7e1a51f65582ca4958ef80c6df9a15a7b353cf67..abafc42e59fde2e848db114ea2986012010f61f9 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementDefinition.cpp
@@ -132,8 +132,8 @@ CustomElementDefinition::ConstructionStackScope::ConstructionStackScope(
CustomElementDefinition::ConstructionStackScope::~ConstructionStackScope() {
// Pop the construction stack.
- DCHECK(!m_constructionStack.last() ||
- m_constructionStack.last() == m_element);
+ DCHECK(!m_constructionStack.back() ||
+ m_constructionStack.back() == m_element);
DCHECK_EQ(m_constructionStack.size(), m_depth); // It's a *stack*.
m_constructionStack.pop_back();
}

Powered by Google App Engine
This is Rietveld 408576698