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

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

Issue 9569027: Revert 124471 - Fix unit_tests on cros. Looks like I forgot another instance of CreateInstance() (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/notifications/desktop_notifications_unittest.cc
===================================================================
--- chrome/browser/chromeos/notifications/desktop_notifications_unittest.cc (revision 124477)
+++ chrome/browser/chromeos/notifications/desktop_notifications_unittest.cc (working copy)
@@ -114,7 +114,7 @@
void DesktopNotificationsTest::SetUp() {
#if defined(USE_AURA)
// Make sure a root window has been instantiated.
- ash::Shell::CreateInstance(NULL);
+ ash::Shell::GetRootWindow();
#endif
browser::RegisterLocalState(&local_state_);
profile_.reset(new TestingProfile());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698