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

Unified Diff: Source/core/html/parser/HTMLPreloadScanner.cpp

Issue 1189523015: Add use-counters for Client-Hints features (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changed to counting functions Created 5 years, 6 months 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
« no previous file with comments | « Source/core/fetch/FetchContext.h ('k') | Source/core/loader/FrameFetchContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLPreloadScanner.cpp
diff --git a/Source/core/html/parser/HTMLPreloadScanner.cpp b/Source/core/html/parser/HTMLPreloadScanner.cpp
index 198db469d2f222fd40d57dc782932981e65af34f..d1e7e7976057d1b121a7547560d8f084cc57e31b 100644
--- a/Source/core/html/parser/HTMLPreloadScanner.cpp
+++ b/Source/core/html/parser/HTMLPreloadScanner.cpp
@@ -521,7 +521,7 @@ void TokenPreloadScanner::scanCommon(const Token& token, const SegmentedString&
if (equalIgnoringCase(equivAttributeValue, "content-security-policy"))
m_isCSPEnabled = true;
else if (equalIgnoringCase(equivAttributeValue, "accept-ch"))
- handleAcceptClientHintsHeader(equivAttributeValue, m_clientHintsPreferences);
+ handleAcceptClientHintsHeader(equivAttributeValue, m_clientHintsPreferences, nullptr);
return;
}
const typename Token::Attribute* nameAttribute = token.getAttributeItem(nameAttr);
« no previous file with comments | « Source/core/fetch/FetchContext.h ('k') | Source/core/loader/FrameFetchContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698