| Index: aura/demo/demo_main.cc
|
| diff --git a/aura/demo/demo_main.cc b/aura/demo/demo_main.cc
|
| index 85a39cc3a221de169997f5e43711b5ec52982ed6..e7071c64f5e07018eedffb59655c1d89a60b18c6 100644
|
| --- a/aura/demo/demo_main.cc
|
| +++ b/aura/demo/demo_main.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/command_line.h"
|
| #include "base/i18n/icu_util.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/message_loop.h"
|
| #include "third_party/skia/include/core/SkXfermode.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| #include "ui/base/ui_base_paths.h"
|
| @@ -72,6 +73,9 @@ int main(int argc, char** argv) {
|
| base::MessagePumpX::DisableGtkMessagePump();
|
| #endif
|
|
|
| + // Create the message-loop here before creating the desktop.
|
| + MessageLoop message_loop(MessageLoop::TYPE_UI);
|
| +
|
| aura::Desktop::GetInstance();
|
|
|
| // Create a hierarchy of test windows.
|
|
|