| Index: chrome/browser/notifications/sync_notifier/welcome_delegate.cc
|
| ===================================================================
|
| --- chrome/browser/notifications/sync_notifier/welcome_delegate.cc (revision 263121)
|
| +++ chrome/browser/notifications/sync_notifier/welcome_delegate.cc (working copy)
|
| @@ -22,12 +22,10 @@
|
| void UpdateMessageCenter() {
|
| NotificationUIManager* notification_ui_manager =
|
| g_browser_process->notification_ui_manager();
|
| - if (notification_ui_manager->DelegatesToMessageCenter()) {
|
| - MessageCenterNotificationManager* message_center_notification_manager =
|
| - static_cast<MessageCenterNotificationManager*>(notification_ui_manager);
|
| + MessageCenterNotificationManager* message_center_notification_manager =
|
| + static_cast<MessageCenterNotificationManager*>(notification_ui_manager);
|
|
|
| - message_center_notification_manager->EnsureMessageCenterClosed();
|
| - }
|
| + message_center_notification_manager->EnsureMessageCenterClosed();
|
| }
|
| } // namespace
|
|
|
|
|