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

Unified Diff: chrome/browser/ui/views/profiles/avatar_menu_button.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/profiles/avatar_menu_button.h
diff --git a/chrome/browser/ui/views/profiles/avatar_menu_button.h b/chrome/browser/ui/views/profiles/avatar_menu_button.h
index ced141138687731bb15a9e37d19456793464f649..e28af06fe77721bd310b17476f70cc8fb9fd7d59 100644
--- a/chrome/browser/ui/views/profiles/avatar_menu_button.h
+++ b/chrome/browser/ui/views/profiles/avatar_menu_button.h
@@ -70,10 +70,10 @@ class AvatarMenuButton : public views::MenuButton,
BrowserView* browser_view_;
bool enabled_;
- scoped_ptr<ui::MenuModel> menu_model_;
+ std::unique_ptr<ui::MenuModel> menu_model_;
// Use a scoped ptr because gfx::Image doesn't have a default constructor.
- scoped_ptr<gfx::Image> icon_;
+ std::unique_ptr<gfx::Image> icon_;
gfx::ImageSkia button_icon_;
bool is_rectangle_;
int old_height_;

Powered by Google App Engine
This is Rietveld 408576698