| Index: mojo/examples/aura_demo/aura_demo.cc
|
| diff --git a/mojo/examples/aura_demo/aura_demo.cc b/mojo/examples/aura_demo/aura_demo.cc
|
| index cb744d67002c15dcbb42a491111467184a61237d..70da6f9c12015526b9ff2e1e16adba3023db5a83 100644
|
| --- a/mojo/examples/aura_demo/aura_demo.cc
|
| +++ b/mojo/examples/aura_demo/aura_demo.cc
|
| @@ -5,6 +5,8 @@
|
| #include <stdio.h>
|
| #include <string>
|
|
|
| +#include "base/at_exit.h"
|
| +#include "base/command_line.h"
|
| #include "base/message_loop/message_loop.h"
|
| #include "mojo/common/bindings_support_impl.h"
|
| #include "mojo/examples/aura_demo/demo_screen.h"
|
| @@ -192,6 +194,8 @@ class AuraDemo : public ShellClient {
|
|
|
| extern "C" AURA_DEMO_EXPORT MojoResult CDECL MojoMain(
|
| MojoHandle shell_handle) {
|
| + CommandLine::Init(0, NULL);
|
| + base::AtExitManager at_exit;
|
| base::MessageLoop loop;
|
| mojo::common::BindingsSupportImpl bindings_support_impl;
|
| mojo::BindingsSupport::Set(&bindings_support_impl);
|
|
|