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

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

Issue 1287783003: Make ClientHintsPreferences class work like a class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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/html/parser/HTMLPreloadScanner.cpp ('k') | Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/PreloadRequest.cpp
diff --git a/Source/core/html/parser/PreloadRequest.cpp b/Source/core/html/parser/PreloadRequest.cpp
index 79ce29e02a8a58548917c8d966cc755a2f760de5..5e7b3b83e7287f8c34757f4cb44a01e9a1c44e0c 100644
--- a/Source/core/html/parser/PreloadRequest.cpp
+++ b/Source/core/html/parser/PreloadRequest.cpp
@@ -46,7 +46,7 @@ FetchRequest PreloadRequest::resourceRequest(Document* document)
request.setDefer(m_defer);
request.setResourceWidth(m_resourceWidth);
- request.setClientHintsPreferences(m_clientHintsPreferences);
+ request.clientHintsPreferences().updateFrom(m_clientHintsPreferences);
return request;
}
« no previous file with comments | « Source/core/html/parser/HTMLPreloadScanner.cpp ('k') | Source/core/loader/FrameFetchContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698