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

Unified Diff: ios/chrome/browser/tab_parenting_global_observer.cc

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? Created 4 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/tab_parenting_global_observer.cc
diff --git a/ios/chrome/browser/tab_parenting_global_observer.cc b/ios/chrome/browser/tab_parenting_global_observer.cc
index 1ed07d12f793a7e1d0db0650238c3ed2a308ac1e..8c0ae3bf22bb7e464ec46f3c58ce6fc1880e245b 100644
--- a/ios/chrome/browser/tab_parenting_global_observer.cc
+++ b/ios/chrome/browser/tab_parenting_global_observer.cc
@@ -10,7 +10,7 @@ TabParentingGlobalObserver* TabParentingGlobalObserver::GetInstance() {
return base::Singleton<TabParentingGlobalObserver>::get();
}
-scoped_ptr<base::CallbackList<void(web::WebState*)>::Subscription>
+std::unique_ptr<base::CallbackList<void(web::WebState*)>::Subscription>
TabParentingGlobalObserver::RegisterCallback(const OnTabParentedCallback& cb) {
return on_tab_parented_callback_list_.Add(cb);
}
« no previous file with comments | « ios/chrome/browser/tab_parenting_global_observer.h ('k') | ios/chrome/browser/translate/chrome_ios_translate_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698