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

Unified Diff: media/base/android/media_source_player_unittest.cc

Issue 1906423005: Replace scoped_ptr with std::unique_ptr in //media/base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-media-base: . 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/base/android/media_source_player_unittest.cc
diff --git a/media/base/android/media_source_player_unittest.cc b/media/base/android/media_source_player_unittest.cc
index 36fc6791543447c37bce6b9721e0dbc941d93dae..1dbaa41126571e26ec148d50901db68f6460bd29 100644
--- a/media/base/android/media_source_player_unittest.cc
+++ b/media/base/android/media_source_player_unittest.cc
@@ -5,12 +5,13 @@
#include "media/base/android/media_source_player.h"
#include <stdint.h>
+
#include <string>
#include <utility>
#include "base/logging.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
+#include "base/memory/ptr_util.h"
#include "base/strings/stringprintf.h"
#include "build/build_config.h"
#include "media/base/android/audio_decoder_job.h"
@@ -166,7 +167,7 @@ class MediaSourcePlayerTest : public testing::Test {
&manager_,
base::Bind(&MockMediaPlayerManager::OnDecorderResourcesReleased,
base::Unretained(&manager_)),
- scoped_ptr<DemuxerAndroid>(demuxer_),
+ base::WrapUnique(demuxer_),
GURL(),
kDefaultMediaSessionId),
decoder_callback_hook_executed_(false),

Powered by Google App Engine
This is Rietveld 408576698