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

Unified Diff: content/child/process_control_impl.cc

Issue 1978843003: Move in-GPU mojo:media app to new thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « content/browser/mojo/mojo_shell_context.cc ('k') | content/common/mojo/embedded_application_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/process_control_impl.cc
diff --git a/content/child/process_control_impl.cc b/content/child/process_control_impl.cc
index 7a1e4d7211a107e68ef75e8359dc02592784c732..2954486b9ca3b350ce9d2572f52a0e0c866dc92b 100644
--- a/content/child/process_control_impl.cc
+++ b/content/child/process_control_impl.cc
@@ -30,8 +30,7 @@ void ProcessControlImpl::LoadApplication(
RegisterApplications(&apps);
for (const auto& app : apps) {
std::unique_ptr<EmbeddedApplicationRunner> runner(
- new EmbeddedApplicationRunner(app.second.application_factory,
- app.second.application_task_runner));
+ new EmbeddedApplicationRunner(app.first, app.second));
runner->SetQuitClosure(base::Bind(&ProcessControlImpl::OnApplicationQuit,
base::Unretained(this)));
apps_.insert(std::make_pair(app.first, std::move(runner)));
« no previous file with comments | « content/browser/mojo/mojo_shell_context.cc ('k') | content/common/mojo/embedded_application_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698