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

Unified Diff: third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp

Issue 2872403003: Have ResourceLoader use FetchContext::CreateURLLoader (Closed)
Patch Set: fix 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 | third_party/WebKit/Source/platform/loader/testing/MockFetchContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
diff --git a/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp b/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
index f6b7668302acbf18b9d38fa9087c5379008a0b3b..04a20d0b3b80bebd004fc2b34394c1488102de83 100644
--- a/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
+++ b/third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp
@@ -83,7 +83,7 @@ void ResourceLoader::Start(const ResourceRequest& request) {
return;
}
- loader_ = Platform::Current()->CreateURLLoader();
+ loader_ = fetcher_->Context().CreateURLLoader();
DCHECK(loader_);
loader_->SetDefersLoading(Context().DefersLoading());
loader_->SetLoadingTaskRunner(Context().LoadingTaskRunner().Get());
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/loader/testing/MockFetchContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698