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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.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/html/parser/HTMLDocumentParser.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
index b049b8b2e8b8146bc4848ccae17c81678fd50a84..c0dbe2abde8735e9c052b093a1028ec244bdf7b2 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
@@ -523,7 +523,7 @@ size_t HTMLDocumentParser::processTokenizedChunkFromBackgroundParser(
// To match main-thread parser behavior (which never checks
// locationChangePending on the EOF path) we peek to see if this chunk has
// an EOF and process it anyway.
- if (tokens->last().type() == HTMLToken::EndOfFile) {
+ if (tokens->back().type() == HTMLToken::EndOfFile) {
ASSERT(
m_speculations
.isEmpty()); // There should never be any chunks after the EOF.

Powered by Google App Engine
This is Rietveld 408576698