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

Unified Diff: chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm

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/translate/translate_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm b/chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm
index 081c64727bfe47bcac51287004817dc0ead5f62c..57b25d066fd8301325fa6991d5e2b715f3f3cd2c 100644
--- a/chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/translate/translate_bubble_controller.mm
@@ -113,7 +113,7 @@ const CGFloat kContentWidth = kWindowWidth - 2 * kFramePadding;
@synthesize webContents = webContents_;
- (id)initWithParentWindow:(BrowserWindowController*)controller
- model:(scoped_ptr<TranslateBubbleModel>)model
+ model:(std::unique_ptr<TranslateBubbleModel>)model
webContents:(content::WebContents*)webContents {
NSWindow* parentWindow = [controller window];

Powered by Google App Engine
This is Rietveld 408576698