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

Unified Diff: media/filters/renderer_impl_unittest.cc

Issue 591203003: media: Pass DemuxerStreamProvider in Renderer::Initialize(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase only Created 6 years, 2 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 | « media/filters/renderer_impl.cc ('k') | media/mojo/services/mojo_renderer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/renderer_impl_unittest.cc
diff --git a/media/filters/renderer_impl_unittest.cc b/media/filters/renderer_impl_unittest.cc
index 7f74d15496f549fcb6cdebe8baff3956c2218006..5db62055e94af33a270f87e693e86688153f067a 100644
--- a/media/filters/renderer_impl_unittest.cc
+++ b/media/filters/renderer_impl_unittest.cc
@@ -60,7 +60,6 @@ class RendererImplTest : public ::testing::Test {
audio_renderer_(new StrictMock<MockAudioRenderer>()),
renderer_impl_(
new RendererImpl(message_loop_.message_loop_proxy(),
- demuxer_.get(),
scoped_ptr<AudioRenderer>(audio_renderer_),
scoped_ptr<VideoRenderer>(video_renderer_))) {
// SetDemuxerExpectations() adds overriding expectations for expected
@@ -118,6 +117,7 @@ class RendererImplTest : public ::testing::Test {
}
renderer_impl_->Initialize(
+ demuxer_.get(),
base::Bind(&CallbackHelper::OnInitialize,
base::Unretained(&callbacks_)),
base::Bind(&CallbackHelper::OnUpdateStatistics,
« no previous file with comments | « media/filters/renderer_impl.cc ('k') | media/mojo/services/mojo_renderer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698