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

Unified Diff: chrome/browser/net/net_pref_observer.h

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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
« no previous file with comments | « chrome/browser/net/net_log_logger.h ('k') | chrome/browser/net/passive_log_collector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/net_pref_observer.h
diff --git a/chrome/browser/net/net_pref_observer.h b/chrome/browser/net/net_pref_observer.h
index d023572aeb0a34cdbf8514b003f2a59fc44b3645..b58501a05b96a1ee04bb6b7870bccf84a1dee63d 100644
--- a/chrome/browser/net/net_pref_observer.h
+++ b/chrome/browser/net/net_pref_observer.h
@@ -28,7 +28,7 @@ class NetPrefObserver : public NotificationObserver {
// outlive this.
NetPrefObserver(PrefService* prefs,
prerender::PrerenderManager* prerender_manager);
- ~NetPrefObserver();
+ virtual ~NetPrefObserver();
// NotificationObserver
virtual void Observe(NotificationType type,
@@ -50,4 +50,3 @@ class NetPrefObserver : public NotificationObserver {
};
#endif // CHROME_BROWSER_NET_NET_PREF_OBSERVER_H_
-
« no previous file with comments | « chrome/browser/net/net_log_logger.h ('k') | chrome/browser/net/passive_log_collector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698