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

Unified Diff: chrome/browser/ui/cocoa/global_error_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/global_error_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/global_error_bubble_controller.h b/chrome/browser/ui/cocoa/global_error_bubble_controller.h
index 425deeb5a7323558a94616dd796307b448c9a7e7..1ce24bc756d033531ff7ca44338dedf86b736dda 100644
--- a/chrome/browser/ui/cocoa/global_error_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/global_error_bubble_controller.h
@@ -7,7 +7,8 @@
#import <Cocoa/Cocoa.h>
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "base/memory/weak_ptr.h"
#import "chrome/browser/ui/cocoa/base_bubble_controller.h"
@@ -26,7 +27,7 @@ class Bridge;
@interface GlobalErrorBubbleController : BaseBubbleController {
@private
base::WeakPtr<GlobalErrorWithStandardBubble> error_;
- scoped_ptr<GlobalErrorBubbleControllerInternal::Bridge> bridge_;
+ std::unique_ptr<GlobalErrorBubbleControllerInternal::Bridge> bridge_;
Browser* browser_;
IBOutlet NSImageView* iconView_;

Powered by Google App Engine
This is Rietveld 408576698