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

Unified Diff: chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.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/toolbar_actions_bar_bubble_mac.h
diff --git a/chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.h b/chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.h
index 6f7067f6edb24d1d9c5426934604a66e5264aaa5..3b077b2622c6075149883d12d71e49192b0eb236 100644
--- a/chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.h
+++ b/chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.h
@@ -7,7 +7,8 @@
#import <Cocoa/Cocoa.h>
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#import "chrome/browser/ui/cocoa/base_bubble_controller.h"
class ToolbarActionsBarBubbleDelegate;
@@ -33,13 +34,13 @@ class ToolbarActionsBarBubbleDelegate;
NSButton* learnMoreButton_;
// This bubble's delegate.
- scoped_ptr<ToolbarActionsBarBubbleDelegate> delegate_;
+ std::unique_ptr<ToolbarActionsBarBubbleDelegate> delegate_;
}
// Creates the bubble for a parent window but does not show it.
- (id)initWithParentWindow:(NSWindow*)parentWindow
anchorPoint:(NSPoint)anchorPoint
- delegate:(scoped_ptr<ToolbarActionsBarBubbleDelegate>)
+ delegate:(std::unique_ptr<ToolbarActionsBarBubbleDelegate>)
delegate;
// Toggles animation for testing purposes.

Powered by Google App Engine
This is Rietveld 408576698