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

Unified Diff: media/audio/win/audio_manager_win.h

Issue 1911913002: Convert //media/audio from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cast + windows build 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: media/audio/win/audio_manager_win.h
diff --git a/media/audio/win/audio_manager_win.h b/media/audio/win/audio_manager_win.h
index 66b2426048335b0ade2b22af13d6bd0e8dbec8cf..18af6577d8c87c6cde5037a89a88ad451ac4ee57 100644
--- a/media/audio/win/audio_manager_win.h
+++ b/media/audio/win/audio_manager_win.h
@@ -92,7 +92,7 @@ class MEDIA_EXPORT AudioManagerWin : public AudioManagerBase {
void GetAudioDeviceNamesImpl(bool input, AudioDeviceNames* device_names);
// Listen for output device changes.
- scoped_ptr<AudioDeviceListenerWin> output_device_listener_;
+ std::unique_ptr<AudioDeviceListenerWin> output_device_listener_;
danakj 2016/04/22 22:47:37 include memory
dcheng 2016/04/22 23:13:21 Done.
DISALLOW_COPY_AND_ASSIGN(AudioManagerWin);
};

Powered by Google App Engine
This is Rietveld 408576698