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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp

Issue 2470233009: WTF/std normalization: replace WTF::Vector::first() with ::front() (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 55c5ccd9fe0ea4fd6293e40e1b5a3c4f9f98d14d..e86faeb596f90d9394c0a131f52b564578ec08e3 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp
@@ -328,7 +328,7 @@ void HTMLDocumentParser::notifyPendingTokenizedChunks() {
// Note that on commit, the loader dispatched preloads for all the non-media
// links.
document()->loader()->dispatchLinkHeaderPreloads(
- &pendingChunks.first()->viewport, LinkLoader::OnlyLoadMedia);
+ &pendingChunks.front()->viewport, LinkLoader::OnlyLoadMedia);
m_triedLoadingLinkHeaders = true;
}

Powered by Google App Engine
This is Rietveld 408576698