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

Unified Diff: chrome/browser/ui/cocoa/base_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/base_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/base_bubble_controller.h b/chrome/browser/ui/cocoa/base_bubble_controller.h
index b4d8bd010ea7f9317f66d82fb38af2593a5bd6ac..7de195c70708166fb9793094d1071bdbd6125a26 100644
--- a/chrome/browser/ui/cocoa/base_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/base_bubble_controller.h
@@ -4,7 +4,8 @@
#import <Cocoa/Cocoa.h>
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "components/bubble/bubble_reference.h"
@class InfoBubbleView;
@@ -32,7 +33,7 @@ class TabStripModelObserverBridge;
IBOutlet InfoBubbleView* bubble_; // to set arrow position
// Bridge for tab change notifications.
- scoped_ptr<TabStripModelObserverBridge> tabStripObserverBridge_;
+ std::unique_ptr<TabStripModelObserverBridge> tabStripObserverBridge_;
// Non-nil only on 10.7+. Both weak, owned by AppKit.
// A local event tap that will dismiss the bubble when a click is delivered

Powered by Google App Engine
This is Rietveld 408576698