Index: chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm |
diff --git a/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm b/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm |
index f5dac295e508a010354408c896f6c51fcc9faaa4..d1dbc29b1ce31a0aa5801e230d539593530d31a7 100644 |
--- a/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm |
+++ b/chrome/browser/ui/cocoa/content_settings/content_setting_bubble_cocoa.mm |
@@ -285,7 +285,7 @@ - (id)initWithModel:(ContentSettingBubbleModel*)contentSettingBubbleModel |
if ((self = [super initWithWindowNibPath:nibPath |
parentWindow:parentWindow |
anchoredAt:anchoredAt])) { |
- contentSettingBubbleModel_.reset(model.release()); |
+ contentSettingBubbleModel_ = std::move(model); |
decoration_ = decoration; |
[self showWindow:nil]; |
} |