Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3269)

Unified Diff: chrome/browser/notifications/desktop_notifications_unittest.cc

Issue 9564023: Revert 124461 - Remove the singleton instance get/delete methods from RootWindow (yay) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698