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

Unified Diff: components/history/content/browser/web_contents_top_sites_observer.h

Issue 2847013003: Switch SupportsUserData uses to use unique_ptr. (Closed)
Patch Set: rev Created 3 years, 8 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: components/history/content/browser/web_contents_top_sites_observer.h
diff --git a/components/history/content/browser/web_contents_top_sites_observer.h b/components/history/content/browser/web_contents_top_sites_observer.h
index 6d920b96b08f03821d759b1d0cca2564a0e91c14..32d22be9f6d763ff83a66b909d3d7aa6c8f6ddc2 100644
--- a/components/history/content/browser/web_contents_top_sites_observer.h
+++ b/components/history/content/browser/web_contents_top_sites_observer.h
@@ -19,6 +19,8 @@ class WebContentsTopSitesObserver
: public content::WebContentsObserver,
public content::WebContentsUserData<WebContentsTopSitesObserver> {
public:
+ ~WebContentsTopSitesObserver() override;
+
static void CreateForWebContents(content::WebContents* web_contents,
TopSites* top_sites);
@@ -27,7 +29,6 @@ class WebContentsTopSitesObserver
WebContentsTopSitesObserver(content::WebContents* web_contents,
TopSites* top_sites);
- ~WebContentsTopSitesObserver() override;
// content::WebContentsObserver implementation.
void NavigationEntryCommitted(

Powered by Google App Engine
This is Rietveld 408576698