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

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

Issue 1121263002: Add Accept-CH meta http-equiv support to the preloader. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase after AcceptClientHints move Created 5 years, 7 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
Index: Source/core/html/parser/PreloadRequest.cpp
diff --git a/Source/core/html/parser/PreloadRequest.cpp b/Source/core/html/parser/PreloadRequest.cpp
index 57eef9531371816551bfcc78236d34d4085fc590..9da71dc9c1e79640e2cc11bf0ec5361c13542a12 100644
--- a/Source/core/html/parser/PreloadRequest.cpp
+++ b/Source/core/html/parser/PreloadRequest.cpp
@@ -36,6 +36,7 @@ FetchRequest PreloadRequest::resourceRequest(Document* document)
request.setDefer(m_defer);
request.setResourceWidth(m_resourceWidth);
+ request.setClientHintsPreferences(m_clientHintsPreferences);
return request;
}

Powered by Google App Engine
This is Rietveld 408576698