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

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: Really fixed the test failure this time Created 4 years, 4 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 9c5a47a09e49c5836a699a94a3a62f435e93fb08..1662cd93dad98ec97eefaea12ee41518d0dd2938 100644
--- a/content/child/resource_dispatcher.cc
+++ b/content/child/resource_dispatcher.cc
@@ -591,11 +591,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,
- 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