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

Unified Diff: ash/system/win/audio/tray_audio_win.cc

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: ash/system/win/audio/tray_audio_win.cc
diff --git a/ash/system/win/audio/tray_audio_win.cc b/ash/system/win/audio/tray_audio_win.cc
index c3205412b2145cfc2fd82f59323875c863d47eb2..62d9d94f81aaea2f32735d42b7d4fe67ff9cedab 100644
--- a/ash/system/win/audio/tray_audio_win.cc
+++ b/ash/system/win/audio/tray_audio_win.cc
@@ -12,9 +12,9 @@ using system::TrayAudioDelegate;
using system::TrayAudioDelegateWin;
TrayAudioWin::TrayAudioWin(SystemTray* system_tray)
- : TrayAudio(system_tray,
- scoped_ptr<TrayAudioDelegate>(new TrayAudioDelegateWin())) {
-}
+ : TrayAudio(
+ system_tray,
+ std::unique_ptr<TrayAudioDelegate>(new TrayAudioDelegateWin())) {}
TrayAudioWin::~TrayAudioWin() {
}

Powered by Google App Engine
This is Rietveld 408576698