summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions/session_restore.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sessions/session_restore.cc')
-rw-r--r--chrome/browser/sessions/session_restore.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/sessions/session_restore.cc b/chrome/browser/sessions/session_restore.cc
index d248a6a..ba25a03 100644
--- a/chrome/browser/sessions/session_restore.cc
+++ b/chrome/browser/sessions/session_restore.cc
@@ -649,7 +649,7 @@ class SessionRestoreImpl : public content::NotificationObserver {
DCHECK(synchronous_);
}
- ~SessionRestoreImpl() {
+ virtual ~SessionRestoreImpl() {
STLDeleteElements(&windows_);
active_session_restorers->erase(this);
@@ -663,7 +663,7 @@ class SessionRestoreImpl : public content::NotificationObserver {
virtual void Observe(int type,
const content::NotificationSource& source,
- const content::NotificationDetails& details) {
+ const content::NotificationDetails& details) OVERRIDE {
switch (type) {
case chrome::NOTIFICATION_BROWSER_CLOSED:
delete this;