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

Unified Diff: chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_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/constrained_window/constrained_window_sheet_controller.h
diff --git a/chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_controller.h b/chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_controller.h
index bd6da1f027bf290374a0f8b3b323cdc68bc4f5dc..bb663e7d92349f0b8a002205db6e48f283139c5c 100644
--- a/chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_controller.h
+++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_controller.h
@@ -6,10 +6,11 @@
#define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_CONTROLLER_H_
#import <Cocoa/Cocoa.h>
+
+#include <memory>
#include <vector>
#include "base/mac/scoped_nsobject.h"
-#include "base/memory/scoped_ptr.h"
namespace web_modal {
class WebContentsModalDialogHost;
@@ -34,7 +35,7 @@ class WebContentsModalDialogHostCocoa;
// Class that bridges the cross-platform web_modal APIs to the Cocoa sheet
// controller.
- scoped_ptr<WebContentsModalDialogHostCocoa> dialogHost_;
+ std::unique_ptr<WebContentsModalDialogHostCocoa> dialogHost_;
}
@property(readonly, nonatomic)

Powered by Google App Engine
This is Rietveld 408576698