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

Unified Diff: chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.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/cocoa/profiles/avatar_menu_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.h b/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.h
index 16a5039fa4aae03e1fba002be940d123d2f9045b..399c93d1be21f8eec44ed123299954928d51b3ee 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.h
@@ -8,9 +8,10 @@
#import <Cocoa/Cocoa.h>
#include <stddef.h>
+#include <memory>
+
#include "base/mac/objc_property_releaser.h"
#include "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
#import "chrome/browser/ui/cocoa/base_bubble_controller.h"
#import "ui/base/cocoa/tracking_area.h"
@@ -22,7 +23,7 @@ class Browser;
@interface AvatarMenuBubbleController : BaseBubbleController {
@private
// The menu that contains the data from the backend.
- scoped_ptr<AvatarMenu> menu_;
+ std::unique_ptr<AvatarMenu> menu_;
// Array of the below view controllers.
base::scoped_nsobject<NSMutableArray> items_;

Powered by Google App Engine
This is Rietveld 408576698