Index: chrome/browser/notifications/notification_ui_manager.cc |
diff --git a/chrome/browser/notifications/notification_ui_manager.cc b/chrome/browser/notifications/notification_ui_manager.cc |
index 56c90f2dad1eab018b906f2c67a7cd562bec747d..a5afc4c6ce6b2d8e477dff40b4ebe68d69a09cb6 100644 |
--- a/chrome/browser/notifications/notification_ui_manager.cc |
+++ b/chrome/browser/notifications/notification_ui_manager.cc |
@@ -67,7 +67,13 @@ NotificationUIManager::~NotificationUIManager() { |
// static |
NotificationUIManager* NotificationUIManager::Create(PrefService* local_state) { |
- BalloonCollection* balloons = BalloonCollection::Create(); |
+ return Create(local_state, BalloonCollection::Create()); |
+} |
+ |
+// static |
+NotificationUIManager* NotificationUIManager::Create( |
+ PrefService* local_state, |
+ BalloonCollection* balloons) { |
NotificationUIManager* instance = new NotificationUIManager(local_state); |
instance->Initialize(balloons); |
balloons->set_space_change_listener(instance); |