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

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

Issue 2868773002: Have PingLoader use FetchContext::CreateURLLoader (Closed)
Patch Set: done Created 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ad845a2f70681c24890629658b314debe516f48c..263f3db17995dbdda619a87e16babba73b8faa43 100644
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
@@ -273,7 +273,7 @@ PingLoaderImpl::PingLoaderImpl(LocalFrame* frame,
if (frame->FrameScheduler())
frame->FrameScheduler()->DidStopLoading(identifier_);
- loader_ = Platform::Current()->CreateURLLoader();
+ loader_ = fetch_context.CreateURLLoader();
DCHECK(loader_);
WrappedResourceRequest wrapped_request(request);
wrapped_request.SetAllowStoredCredentials(credentials_allowed ==
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698