Index: chrome/browser/notifications/desktop_notifications_unittest.cc |
=================================================================== |
--- chrome/browser/notifications/desktop_notifications_unittest.cc (revision 124478) |
+++ chrome/browser/notifications/desktop_notifications_unittest.cc (working copy) |
@@ -95,7 +95,7 @@ |
WebKit::initialize(&webkit_platform_support_); |
// MockBalloonCollection retrieves information about the screen on creation. |
// So it is necessary to make sure the desktop gets created first. |
- ash::Shell::CreateInstance(NULL); |
+ ash::Shell::GetRootWindow(); |
#endif |
browser::RegisterLocalState(&local_state_); |
@@ -112,7 +112,7 @@ |
ui_manager_.reset(NULL); |
profile_.reset(NULL); |
#if defined(USE_AURA) |
- ash::Shell::DeleteInstance(); |
+ aura::RootWindow::DeleteInstance(); |
aura::Env::DeleteInstance(); |
WebKit::shutdown(); |
#endif |