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

Unified Diff: ios/chrome/browser/infobars/infobar_manager_impl.h

Issue 2853443002: 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
Index: ios/chrome/browser/infobars/infobar_manager_impl.h
diff --git a/ios/chrome/browser/infobars/infobar_manager_impl.h b/ios/chrome/browser/infobars/infobar_manager_impl.h
index 648b8cb737b0fd18ef0ed9a2b91b81b0cf8040ff..e445dd18fb2471e508acc7f429de86b12172940d 100644
--- a/ios/chrome/browser/infobars/infobar_manager_impl.h
+++ b/ios/chrome/browser/infobars/infobar_manager_impl.h
@@ -27,6 +27,8 @@ class InfoBarManagerImpl : public infobars::InfoBarManager,
public web::WebStateObserver,
public web::WebStateUserData<InfoBarManagerImpl> {
public:
+ ~InfoBarManagerImpl() override;
+
// This function must only be called on infobars that are owned by an
// InfoBarManagerImpl instance (or not owned at all, in which case this
// returns null).
@@ -36,7 +38,6 @@ class InfoBarManagerImpl : public infobars::InfoBarManager,
friend class web::WebStateUserData<InfoBarManagerImpl>;
explicit InfoBarManagerImpl(web::WebState* web_state);
- ~InfoBarManagerImpl() override;
// InfoBarManager implementation.
int GetActiveEntryID() override;

Powered by Google App Engine
This is Rietveld 408576698