Index: ui/message_center/message_center.cc |
diff --git a/ui/message_center/message_center.cc b/ui/message_center/message_center.cc |
index 394dab9ff3739015b88a7b4474d22aa86a41342a..e1a8d5ae72f2f69e8f1ab1297ad91cd125e4c74e 100644 |
--- a/ui/message_center/message_center.cc |
+++ b/ui/message_center/message_center.cc |
@@ -11,10 +11,9 @@ |
namespace message_center { |
//------------------------------------------------------------------------------ |
- |
-// static |
-MessageCenter* MessageCenter::GetInstance() { |
- return Singleton<MessageCenter>::get(); |
+MessageCenter::MessageCenter() |
+ : delegate_(NULL) { |
+ notification_list_.reset(new NotificationList(this)); |
} |
MessageCenter::~MessageCenter() { |
@@ -172,11 +171,6 @@ void MessageCenter::Delegate::OnButtonClicked(const std::string& id, |
//------------------------------------------------------------------------------ |
// Private. |
-MessageCenter::MessageCenter() |
- : delegate_(NULL) { |
- notification_list_.reset(new NotificationList(this)); |
-} |
- |
void MessageCenter::NotifyMessageCenterChanged(bool new_notification) { |
FOR_EACH_OBSERVER(Observer, |
observer_list_, |