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

Unified Diff: ash/system/user/user_view.h

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: ash/system/user/user_view.h
diff --git a/ash/system/user/user_view.h b/ash/system/user/user_view.h
index b258d03495fae1960dadf6873205bfef95767f96..a1749bcb6881930fbef87197b1b40410e40cff07 100644
--- a/ash/system/user/user_view.h
+++ b/ash/system/user/user_view.h
@@ -86,14 +86,14 @@ class UserView : public views::View,
bool is_user_card_button_;
views::View* logout_button_;
- scoped_ptr<PopupMessage> popup_message_;
- scoped_ptr<views::Widget> add_menu_option_;
+ std::unique_ptr<PopupMessage> popup_message_;
+ std::unique_ptr<views::Widget> add_menu_option_;
// False when the add user panel is visible but not activatable.
bool add_user_enabled_;
// The mouse watcher which takes care of out of window hover events.
- scoped_ptr<views::MouseWatcher> mouse_watcher_;
+ std::unique_ptr<views::MouseWatcher> mouse_watcher_;
// The focus manager which we use to detect focus changes.
views::FocusManager* focus_manager_;

Powered by Google App Engine
This is Rietveld 408576698