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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.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/html/parser/HTMLTreeBuilderSimulator.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.h b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.h
index ce46a32b7c59e54cdf5549d5f15b3012fc081249..40a5203349de4d8cd8d571b20b52f7f1b421f4c6 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilderSimulator.h
@@ -58,7 +58,7 @@ class HTMLTreeBuilderSimulator {
private:
explicit HTMLTreeBuilderSimulator(HTMLTreeBuilder*);
- bool inForeignContent() const { return m_namespaceStack.last() != HTML; }
+ bool inForeignContent() const { return m_namespaceStack.back() != HTML; }
HTMLParserOptions m_options;
State m_namespaceStack;

Powered by Google App Engine
This is Rietveld 408576698