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

Unified Diff: third_party/WebKit/Source/core/loader/PingLoader.cpp

Issue 2676163002: Refactor the forPreload flag to mean speculative preload. (Closed)
Patch Set: Review comments Created 3 years, 10 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: third_party/WebKit/Source/core/loader/PingLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp
index 285980c3a3231b396c8e0fc64080107043171f7d..2f180bda0a1fad6a2e6a11eaf1a8beca3341b244 100644
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
@@ -254,7 +254,8 @@ PingLoaderImpl::PingLoaderImpl(LocalFrame* frame,
FetchContext& fetchContext = frame->document()->fetcher()->context();
fetchContext.willStartLoadingResource(m_identifier, request, Resource::Image,
- initiator, false);
+ initiator,
+ FetchContext::LoggingPolicy::Log);
FetchInitiatorInfo initiatorInfo;
initiatorInfo.name = initiator;

Powered by Google App Engine
This is Rietveld 408576698