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

Unified Diff: chrome/browser/ui/views/toolbar/app_menu_button.cc

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
« no previous file with comments | « chrome/browser/ui/views/toolbar/app_menu_button.h ('k') | chrome/browser/ui/views/toolbar/back_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/toolbar/app_menu_button.cc
diff --git a/chrome/browser/ui/views/toolbar/app_menu_button.cc b/chrome/browser/ui/views/toolbar/app_menu_button.cc
index ffcf9b78d99751b6cb5532f9eeaf0353d797525f..450e8f9b5637c098f4524e25dcf93d1693d1b3c0 100644
--- a/chrome/browser/ui/views/toolbar/app_menu_button.cc
+++ b/chrome/browser/ui/views/toolbar/app_menu_button.cc
@@ -173,9 +173,9 @@ const char* AppMenuButton::GetClassName() const {
return "AppMenuButton";
}
-scoped_ptr<views::LabelButtonBorder> AppMenuButton::CreateDefaultBorder()
+std::unique_ptr<views::LabelButtonBorder> AppMenuButton::CreateDefaultBorder()
const {
- scoped_ptr<views::LabelButtonBorder> border =
+ std::unique_ptr<views::LabelButtonBorder> border =
MenuButton::CreateDefaultBorder();
// Adjust border insets to follow the margin change,
« no previous file with comments | « chrome/browser/ui/views/toolbar/app_menu_button.h ('k') | chrome/browser/ui/views/toolbar/back_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698