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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h

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/CustomElementTestHelpers.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h b/third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h
index 9fde0738214c910ba6a811d13c3884ebfbe3fb42..f16ce573e81d479d3402eeef95050489e2561480 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementTestHelpers.h
@@ -54,9 +54,9 @@ class TestCustomElementDefinition : public CustomElementDefinition {
ScriptValue getConstructorForScript() override { return ScriptValue(); }
bool runConstructor(Element* element) override {
- if (constructionStack().isEmpty() || constructionStack().last() != element)
+ if (constructionStack().isEmpty() || constructionStack().back() != element)
return false;
- constructionStack().last().clear();
+ constructionStack().back().clear();
return true;
}

Powered by Google App Engine
This is Rietveld 408576698