Index: ui/aura_shell/examples/aura_shell_main.cc |
diff --git a/ui/aura_shell/examples/aura_shell_main.cc b/ui/aura_shell/examples/aura_shell_main.cc |
index 414bcdddbfc813ab44edd8b6cbce92321d9eb698..20a3623b6ff172ef82940e3118081960abeed4b7 100644 |
--- a/ui/aura_shell/examples/aura_shell_main.cc |
+++ b/ui/aura_shell/examples/aura_shell_main.cc |
@@ -31,6 +31,10 @@ class ShellDelegateImpl : public aura_shell::ShellDelegate { |
aura_shell::examples::ToplevelWindow::CreateToplevelWindow(create_params); |
} |
+ virtual views::Widget* CreateStatusArea() OVERRIDE { |
+ return aura_shell::internal::CreateStatusArea(); |
+ } |
+ |
virtual void ShowApps() OVERRIDE { |
NOTIMPLEMENTED(); |
} |
@@ -72,7 +76,7 @@ int main(int argc, char** argv) { |
MessageLoop message_loop(MessageLoop::TYPE_UI); |
ui::CompositorTestSupport::Initialize(); |
- aura_shell::Shell::GetInstance()->SetDelegate(new ShellDelegateImpl);; |
+ aura_shell::Shell::CreateInstance(new ShellDelegateImpl); |
aura_shell::examples::InitWindowTypeLauncher(); |
@@ -84,4 +88,3 @@ int main(int argc, char** argv) { |
return 0; |
} |
- |