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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.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/CustomElementReactionStack.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp
index 32d9b26944d6ddacdd1074b6f6ea5f25c6859c1d..87bacb19b9243efe9ab48371f78fc6dfbe4b0704 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementReactionStack.cpp
@@ -39,7 +39,7 @@ void CustomElementReactionStack::push() {
}
void CustomElementReactionStack::popInvokingReactions() {
- ElementQueue* queue = m_stack.last();
+ ElementQueue* queue = m_stack.back();
if (queue)
invokeReactions(*queue);
m_stack.pop_back();
@@ -59,7 +59,7 @@ void CustomElementReactionStack::invokeReactions(ElementQueue& queue) {
void CustomElementReactionStack::enqueueToCurrentQueue(
Element* element,
CustomElementReaction* reaction) {
- enqueue(m_stack.last(), element, reaction);
+ enqueue(m_stack.back(), element, reaction);
}
void CustomElementReactionStack::enqueue(Member<ElementQueue>& queue,

Powered by Google App Engine
This is Rietveld 408576698