Index: chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm |
diff --git a/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm b/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm |
index 00407ae86b561f67b373215b0aaca3f71cdea1b7..a9018832009903684a56989fc8220fd925f8a651 100644 |
--- a/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm |
+++ b/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm |
@@ -67,9 +67,9 @@ gfx::NativeViewId ScreenCaptureNotificationUICocoa::OnStarted( |
return [[windowController_ window] windowNumber]; |
} |
-scoped_ptr<ScreenCaptureNotificationUI> ScreenCaptureNotificationUI::Create( |
- const base::string16& text) { |
- return scoped_ptr<ScreenCaptureNotificationUI>( |
+std::unique_ptr<ScreenCaptureNotificationUI> |
+ScreenCaptureNotificationUI::Create(const base::string16& text) { |
+ return std::unique_ptr<ScreenCaptureNotificationUI>( |
new ScreenCaptureNotificationUICocoa(text)); |
} |