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

Unified Diff: content/child/resource_dispatcher.cc

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another GYP fix Created 4 years, 5 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: content/child/resource_dispatcher.cc
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc
index 461da5c1df50f68a0d405c6029f1ffc888e1643f..96bd4b7ec9d4902aeec890a5e0c6e7a3fc835173 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -586,11 +586,9 @@ int ResourceDispatcher::StartAsync(const RequestInfo& request_info,
std::move(peer), request->resource_type, request->origin_pid,
frame_origin, request->url, request_info.download_to_file));
- if (resource_scheduling_filter_.get() &&
- request_info.loading_web_task_runner) {
+ if (resource_scheduling_filter_.get() && request_info.loading_task_runner) {
resource_scheduling_filter_->SetRequestIdTaskRunner(
- request_id,
- base::WrapUnique(request_info.loading_web_task_runner->clone()));
+ request_id, request_info.loading_task_runner);
}
message_sender_->Send(new ResourceHostMsg_RequestResource(

Powered by Google App Engine
This is Rietveld 408576698