Index: chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc |
diff --git a/chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc b/chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc |
index 14fe316a5a5f1326f18857075b6299dbd4243da7..60fc878e508d107918d95d21128818ec2b812721 100644 |
--- a/chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc |
+++ b/chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc |
@@ -30,8 +30,8 @@ gfx::NativeViewId ScreenCaptureNotificationUIChromeOS::OnStarted( |
} // namespace chromeos |
// static |
-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 chromeos::ScreenCaptureNotificationUIChromeOS(text)); |
} |