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

Unified Diff: chrome/browser/ui/views/website_settings/chosen_object_view.h

Issue 1865213004: Convert //chrome/browser/ui 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: chrome/browser/ui/views/website_settings/chosen_object_view.h
diff --git a/chrome/browser/ui/views/website_settings/chosen_object_view.h b/chrome/browser/ui/views/website_settings/chosen_object_view.h
index f462eb25d0b25a6ba6c671e9dbf9c31e664ea035..fafd59e44dd971882912fbcdb09340300252b938 100644
--- a/chrome/browser/ui/views/website_settings/chosen_object_view.h
+++ b/chrome/browser/ui/views/website_settings/chosen_object_view.h
@@ -23,7 +23,7 @@ class ChosenObjectViewObserver;
class ChosenObjectView : public views::View, public views::ButtonListener {
public:
explicit ChosenObjectView(
- scoped_ptr<WebsiteSettingsUI::ChosenObjectInfo> info);
+ std::unique_ptr<WebsiteSettingsUI::ChosenObjectInfo> info);
void AddObserver(ChosenObjectViewObserver* observer);
@@ -37,7 +37,7 @@ class ChosenObjectView : public views::View, public views::ButtonListener {
views::ImageButton* delete_button_; // Owned by the views hierarchy.
base::ObserverList<ChosenObjectViewObserver> observer_list_;
- scoped_ptr<WebsiteSettingsUI::ChosenObjectInfo> info_;
+ std::unique_ptr<WebsiteSettingsUI::ChosenObjectInfo> info_;
DISALLOW_COPY_AND_ASSIGN(ChosenObjectView);
};

Powered by Google App Engine
This is Rietveld 408576698