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

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: address comments 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
« no previous file with comments | « ash/system/win/audio/tray_audio_win.h ('k') | ash/test/ash_test_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5c525f2f0c8b720b5d8a399c708242f98edeacb6 100644
--- a/ash/system/win/audio/tray_audio_win.cc
+++ b/ash/system/win/audio/tray_audio_win.cc
@@ -4,6 +4,8 @@
#include "ash/system/win/audio/tray_audio_win.h"
+#include <memory>
+
#include "ash/system/win/audio/tray_audio_delegate_win.h"
namespace ash {
@@ -12,9 +14,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() {
}
« no previous file with comments | « ash/system/win/audio/tray_audio_win.h ('k') | ash/test/ash_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698