Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Unified Diff: chrome/browser/extensions/extension_view_host.cc

Issue 666153002: Standardize usage of virtual/override/final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_view_host.cc
diff --git a/chrome/browser/extensions/extension_view_host.cc b/chrome/browser/extensions/extension_view_host.cc
index d3986bb3dffc41fa5c47844b4007e06c043ec881..4650159daafdd8731a01d19e607950481e75d9fe 100644
--- a/chrome/browser/extensions/extension_view_host.cc
+++ b/chrome/browser/extensions/extension_view_host.cc
@@ -40,10 +40,10 @@ class ExtensionViewHost::AssociatedWebContentsObserver
AssociatedWebContentsObserver(ExtensionViewHost* host,
WebContents* web_contents)
: WebContentsObserver(web_contents), host_(host) {}
- virtual ~AssociatedWebContentsObserver() {}
+ ~AssociatedWebContentsObserver() override {}
// content::WebContentsObserver:
- virtual void WebContentsDestroyed() override {
+ void WebContentsDestroyed() override {
// Deleting |this| from here is safe.
host_->SetAssociatedWebContents(NULL);
}
« no previous file with comments | « chrome/browser/extensions/extension_view_host.h ('k') | chrome/browser/extensions/extension_view_host_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698