| Index: services/ui/launcher/main.cc
|
| diff --git a/services/ui/launcher/main.cc b/services/ui/launcher/main.cc
|
| index fa82e08d51d69f5fcedaea25b839904c2adda216..9ba77adccef05e4102fa58faf221243f23469b4d 100644
|
| --- a/services/ui/launcher/main.cc
|
| +++ b/services/ui/launcher/main.cc
|
| @@ -2,11 +2,13 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "mojo/application/application_runner_chromium.h"
|
| +#include "mojo/environment/scoped_chromium_init.h"
|
| #include "mojo/public/c/system/main.h"
|
| +#include "mojo/public/cpp/application/run_application.h"
|
| #include "services/ui/launcher/launcher_app.h"
|
|
|
| MojoResult MojoMain(MojoHandle application_request) {
|
| - mojo::ApplicationRunnerChromium runner(new launcher::LauncherApp);
|
| - return runner.Run(application_request);
|
| + mojo::ScopedChromiumInit init;
|
| + launcher::LauncherApp launcher_app;
|
| + return mojo::RunApplication(application_request, &launcher_app);
|
| }
|
|
|