Index: chrome/browser/notifications/desktop_notifications_unittest.cc |
diff --git a/chrome/browser/notifications/desktop_notifications_unittest.cc b/chrome/browser/notifications/desktop_notifications_unittest.cc |
index a78b946fbedf4ad6ec346b698416a8bab2148bce..8925bb3a8322e88efd05fe935e107144ae39057b 100644 |
--- a/chrome/browser/notifications/desktop_notifications_unittest.cc |
+++ b/chrome/browser/notifications/desktop_notifications_unittest.cc |
@@ -103,7 +103,7 @@ void DesktopNotificationsTest::SetUp() { |
active_desktop_monitor_.reset(new ActiveDesktopMonitor); |
#endif |
- chrome::RegisterLocalState(&local_state_); |
+ chrome::RegisterLocalState(local_state_.registry(), &local_state_); |
profile_.reset(new TestingProfile()); |
ui_manager_.reset(new BalloonNotificationUIManager(&local_state_)); |
balloon_collection_ = new MockBalloonCollection(); |