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

Unified Diff: mandoline/app/desktop/launcher_process.cc

Issue 1343283003: Mandoline: Fix PackageManager initialization (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | mojo/runner/context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/app/desktop/launcher_process.cc
diff --git a/mandoline/app/desktop/launcher_process.cc b/mandoline/app/desktop/launcher_process.cc
index 4473b0d8620e28f44f9dc0c1c0d9557e16ed1b0d..34e44351e88a140578a1c5a86047b7a929a9d326 100644
--- a/mandoline/app/desktop/launcher_process.cc
+++ b/mandoline/app/desktop/launcher_process.cc
@@ -103,12 +103,12 @@ int LauncherProcessMain(int argc, char** argv) {
base::FilePath shell_dir;
PathService::Get(base::DIR_MODULE, &shell_dir);
mojo::runner::Context shell_context(shell_dir);
- InitCoreServicesForContext(&shell_context);
{
base::MessageLoop message_loop;
if (!shell_context.Init()) {
return 0;
}
+ InitCoreServicesForContext(&shell_context);
if (g_tracing) {
message_loop.PostDelayedTask(FROM_HERE,
base::Bind(StopTracingAndFlushToDisk),
« no previous file with comments | « no previous file | mojo/runner/context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698