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 31ce3fe2da493644922baf82e4517b9097ef5c6b..56e76904758d54b460591063019af3d1d759a9b8 100644 |
--- a/ui/aura_shell/examples/aura_shell_main.cc |
+++ b/ui/aura_shell/examples/aura_shell_main.cc |
@@ -121,7 +121,7 @@ int main(int argc, char** argv) { |
aura::Desktop::GetInstance()->Run(); |
- delete aura::Desktop::GetInstance(); |
+ aura::Desktop::DeleteInstance(); |
ui::CompositorTestSupport::Terminate(); |