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

Unified Diff: content/browser/media/session/media_session_delegate_android_browsertest.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: android 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 | « components/audio_modem/audio_player_impl.h ('k') | media/base/android/access_unit_queue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/session/media_session_delegate_android_browsertest.cc
diff --git a/content/browser/media/session/media_session_delegate_android_browsertest.cc b/content/browser/media/session/media_session_delegate_android_browsertest.cc
index 263d58328af0f34b4096a7bc3defd1075310e0ea..440092f4e1ddafffb626f9130d3c9751dc21d3f8 100644
--- a/content/browser/media/session/media_session_delegate_android_browsertest.cc
+++ b/content/browser/media/session/media_session_delegate_android_browsertest.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <memory>
+
#include "base/command_line.h"
#include "base/run_loop.h"
#include "content/browser/media/session/media_session.h"
@@ -27,7 +29,7 @@ class MediaSessionDelegateAndroidBrowserTest : public ContentBrowserTest {};
IN_PROC_BROWSER_TEST_F(MediaSessionDelegateAndroidBrowserTest,
MAYBE_OnAudioFocusChangeAfterDtorCrash) {
- scoped_ptr<MockMediaSessionObserver> media_session_observer(
+ std::unique_ptr<MockMediaSessionObserver> media_session_observer(
new MockMediaSessionObserver);
MediaSession* media_session = MediaSession::Get(shell()->web_contents());
« no previous file with comments | « components/audio_modem/audio_player_impl.h ('k') | media/base/android/access_unit_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698