Index: chrome/browser/notifications/notification_browsertest.cc |
diff --git a/chrome/browser/notifications/notification_browsertest.cc b/chrome/browser/notifications/notification_browsertest.cc |
index d0f9a7382adb869f9195e8c55cecb85ca17c7bdf..55ef39b6ffff453921df1a27a8fecb818652b577 100644 |
--- a/chrome/browser/notifications/notification_browsertest.cc |
+++ b/chrome/browser/notifications/notification_browsertest.cc |
@@ -76,7 +76,7 @@ class MessageCenterChangeObserver |
message_center::MessageCenter::Get()->AddObserver(this); |
} |
- ~MessageCenterChangeObserver() { |
+ virtual ~MessageCenterChangeObserver() { |
message_center::MessageCenter::Get()->RemoveObserver(this); |
} |
@@ -89,7 +89,7 @@ class MessageCenterChangeObserver |
return notification_received_; |
} |
- virtual void OnMessageCenterChanged(bool new_notification) { |
+ virtual void OnMessageCenterChanged(bool new_notification) OVERRIDE { |
notification_received_ = true; |
if (message_loop_runner_) |
message_loop_runner_->Quit(); |