Index: chrome/browser/ui/startup/startup_browser_creator_impl.cc |
diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
index 80450bc6f5e8a18d5248934e46f1fa338a8687c1..75e79e286c57a2812482a7abe5d199541b525d73 100644 |
--- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
+++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
@@ -246,7 +246,7 @@ void RecordAppLaunches(Profile* profile, |
class WebContentsCloseObserver : public content::NotificationObserver { |
public: |
WebContentsCloseObserver() : contents_(NULL) {} |
- virtual ~WebContentsCloseObserver() {} |
+ ~WebContentsCloseObserver() override {} |
void SetContents(content::WebContents* contents) { |
DCHECK(!contents_); |
@@ -261,9 +261,9 @@ class WebContentsCloseObserver : public content::NotificationObserver { |
private: |
// content::NotificationObserver overrides: |
- virtual void Observe(int type, |
- const content::NotificationSource& source, |
- const content::NotificationDetails& details) override { |
+ void Observe(int type, |
+ const content::NotificationSource& source, |
+ const content::NotificationDetails& details) override { |
DCHECK_EQ(type, content::NOTIFICATION_WEB_CONTENTS_DESTROYED); |
contents_ = NULL; |
} |