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

Unified Diff: components/favicon/ios/web_favicon_driver.h

Issue 2845253002: Switch SupportsUserData uses to use unique_ptr. (Closed)
Patch Set: 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
« no previous file with comments | « components/favicon/content/content_favicon_driver.cc ('k') | components/favicon/ios/web_favicon_driver.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/favicon/ios/web_favicon_driver.h
diff --git a/components/favicon/ios/web_favicon_driver.h b/components/favicon/ios/web_favicon_driver.h
index 9b9e7d004dad6428da9dd6a76508d53926dbb338..d7e9455a3925cf9c1fc3964a391dd30103e44d88 100644
--- a/components/favicon/ios/web_favicon_driver.h
+++ b/components/favicon/ios/web_favicon_driver.h
@@ -24,6 +24,8 @@ class WebFaviconDriver : public web::WebStateObserver,
public web::WebStateUserData<WebFaviconDriver>,
public FaviconDriverImpl {
public:
+ ~WebFaviconDriver() override;
+
static void CreateForWebState(web::WebState* web_state,
FaviconService* favicon_service,
history::HistoryService* history_service,
@@ -54,7 +56,6 @@ class WebFaviconDriver : public web::WebStateObserver,
FaviconService* favicon_service,
history::HistoryService* history_service,
bookmarks::BookmarkModel* bookmark_model);
- ~WebFaviconDriver() override;
// web::WebStateObserver implementation.
void FaviconUrlUpdated(
« no previous file with comments | « components/favicon/content/content_favicon_driver.cc ('k') | components/favicon/ios/web_favicon_driver.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698