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

Unified Diff: ash/system/chromeos/audio/tray_audio_chromeos.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/chromeos/audio/tray_audio_chromeos.cc
diff --git a/ash/system/chromeos/audio/tray_audio_chromeos.cc b/ash/system/chromeos/audio/tray_audio_chromeos.cc
index 3d420ff6e655efc91d6ca93beb48897909439fb8..1a99133cba8ecbc4a0e5cefd02796073422e97c1 100644
--- a/ash/system/chromeos/audio/tray_audio_chromeos.cc
+++ b/ash/system/chromeos/audio/tray_audio_chromeos.cc
@@ -18,8 +18,9 @@ using system::TrayAudioDelegate;
using system::TrayAudioDelegateChromeOs;
TrayAudioChromeOs::TrayAudioChromeOs(SystemTray* system_tray)
- : TrayAudio(system_tray,
- scoped_ptr<TrayAudioDelegate>(new TrayAudioDelegateChromeOs())),
+ : TrayAudio(
+ system_tray,
+ std::unique_ptr<TrayAudioDelegate>(new TrayAudioDelegateChromeOs())),
audio_detail_view_(NULL) {
chromeos::DBusThreadManager::Get()->GetPowerManagerClient()->AddObserver(
this);

Powered by Google App Engine
This is Rietveld 408576698