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

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

Issue 2807533003: [WIP2] off-main-thread loading
Patch Set: call set_is_secure_context in EmbeddedSharedWorkerStub::CreateWorkerFetchContext() Created 3 years, 8 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/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 93c6c694f2475058feeace3c752d06cb74ff0ac8..884023f28411c40be1793affa281d07358badca8 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_ = Context().CreateURLLoader();
DCHECK(loader_);
loader_->SetDefersLoading(Context().DefersLoading());
loader_->SetLoadingTaskRunner(Context().LoadingTaskRunner().Get());

Powered by Google App Engine
This is Rietveld 408576698