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

Unified Diff: chrome/browser/chromeos/ui/screen_capture_notification_ui_chromeos.cc

Issue 1870793002: Convert //chrome/browser/chromeos 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/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));
}

Powered by Google App Engine
This is Rietveld 408576698