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

Unified Diff: media/audio/audio_manager.cc

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/audio_manager.cc
diff --git a/media/audio/audio_manager.cc b/media/audio/audio_manager.cc
index 573102a0410b2ca20e8f748ca6a20e068121d07d..33e8b87962ba9083d28249ea20a9f070cb91a170 100644
--- a/media/audio/audio_manager.cc
+++ b/media/audio/audio_manager.cc
@@ -253,7 +253,7 @@ class AudioManagerHelper : public base::PowerObserver {
uint32_t successful_pings_ = 0;
#if defined(OS_WIN)
- scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_for_testing_;
+ std::unique_ptr<base::win::ScopedCOMInitializer> com_initializer_for_testing_;
danakj 2016/04/22 22:47:35 include memory
dcheng 2016/04/22 23:13:19 Already included in related header.
#endif
#if defined(OS_LINUX)

Powered by Google App Engine
This is Rietveld 408576698