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

Unified Diff: chrome/browser/ui/cocoa/extensions/browser_action_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/cocoa/extensions/browser_action_button.h
diff --git a/chrome/browser/ui/cocoa/extensions/browser_action_button.h b/chrome/browser/ui/cocoa/extensions/browser_action_button.h
index bcd543e0a4222842630e26fddbc579bc713ed626..645243ae8ee123db96544bddd909b3385848546d 100644
--- a/chrome/browser/ui/cocoa/extensions/browser_action_button.h
+++ b/chrome/browser/ui/cocoa/extensions/browser_action_button.h
@@ -7,8 +7,9 @@
#import <Cocoa/Cocoa.h>
+#include <memory>
+
#import "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
#import "chrome/browser/ui/cocoa/image_button_cell.h"
#import "chrome/browser/ui/cocoa/toolbar/toolbar_button_cocoa.h"
@@ -32,7 +33,7 @@ extern NSString* const kBrowserActionButtonDragEndNotification;
ToolbarActionViewController* viewController_;
// The bridge between the view controller and this object.
- scoped_ptr<ToolbarActionViewDelegateBridge> viewControllerDelegate_;
+ std::unique_ptr<ToolbarActionViewDelegateBridge> viewControllerDelegate_;
// The context menu controller.
base::scoped_nsobject<MenuController> contextMenuController_;

Powered by Google App Engine
This is Rietveld 408576698