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

Unified Diff: content/renderer/scheduler/web_scheduler_impl.cc

Issue 1014643002: [renderer]: Fix RendererScheduler shutdown logic to ensure it is shutdown before the MessageLoop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « content/renderer/render_thread_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/scheduler/web_scheduler_impl.cc
diff --git a/content/renderer/scheduler/web_scheduler_impl.cc b/content/renderer/scheduler/web_scheduler_impl.cc
index 3e2ad726d3734f90942b31d8ab0e4534a1cda4a7..bfaf437fdafb6f25e67fe32663cd0e23aac20b80 100644
--- a/content/renderer/scheduler/web_scheduler_impl.cc
+++ b/content/renderer/scheduler/web_scheduler_impl.cc
@@ -81,9 +81,7 @@ void WebSchedulerImpl::postLoadingTask(
}
void WebSchedulerImpl::shutdown() {
- idle_task_runner_ = nullptr;
- loading_task_runner_ = nullptr;
- return renderer_scheduler_->Shutdown();
+ // TODO(rmcilroy): Delete this method once the blink side is removed.
}
} // namespace content
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698