| Index: examples/ui/shapes/main.cc
|
| diff --git a/examples/ui/shapes/main.cc b/examples/ui/shapes/main.cc
|
| index bf4925ee9e3884c55dafb3e0d9bae32938eae429..166925976ac8c12ca92bc6624e8b6b840adc3c23 100644
|
| --- a/examples/ui/shapes/main.cc
|
| +++ b/examples/ui/shapes/main.cc
|
| @@ -3,10 +3,12 @@
|
| // found in the LICENSE file.
|
|
|
| #include "examples/ui/shapes/shapes_app.h"
|
| -#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"
|
|
|
| MojoResult MojoMain(MojoHandle application_request) {
|
| - mojo::ApplicationRunnerChromium runner(new examples::ShapesApp);
|
| - return runner.Run(application_request);
|
| + mojo::ScopedChromiumInit init;
|
| + examples::ShapesApp shapes_app;
|
| + return mojo::RunApplication(application_request, &shapes_app);
|
| }
|
|
|