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

Unified Diff: content/renderer/media/media_stream_impl_unittest.cc

Issue 12320078: Delete old RTCVideoDecoder code path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add svn revision Created 7 years, 10 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: content/renderer/media/media_stream_impl_unittest.cc
diff --git a/content/renderer/media/media_stream_impl_unittest.cc b/content/renderer/media/media_stream_impl_unittest.cc
index 5fe86506773ad7d422a8d016eb5a1d734543a916..dfdda508add0e0afab1b19c3bff2021d8ab68a62 100644
--- a/content/renderer/media/media_stream_impl_unittest.cc
+++ b/content/renderer/media/media_stream_impl_unittest.cc
@@ -159,22 +159,12 @@ class MediaStreamImplTest : public ::testing::Test {
TEST_F(MediaStreamImplTest, LocalMediaStream) {
// Test a stream with both audio and video.
WebKit::WebMediaStream mixed_desc = RequestLocalMediaStream(true, true);
- // Create a renderer for the stream.
- scoped_refptr<media::VideoDecoder> mixed_decoder(
- ms_impl_->GetVideoDecoder(GURL(), base::MessageLoopProxy::current()));
- EXPECT_TRUE(mixed_decoder.get() != NULL);
// Test a stream with audio only.
WebKit::WebMediaStream audio_desc = RequestLocalMediaStream(true, false);
- scoped_refptr<media::VideoDecoder> audio_decoder(
- ms_impl_->GetVideoDecoder(GURL(), base::MessageLoopProxy::current()));
- EXPECT_TRUE(audio_decoder.get() == NULL);
// Test a stream with video only.
WebKit::WebMediaStream video_desc = RequestLocalMediaStream(false, true);
- scoped_refptr<media::VideoDecoder> video_decoder(
- ms_impl_->GetVideoDecoder(GURL(), base::MessageLoopProxy::current()));
- EXPECT_TRUE(video_decoder.get() != NULL);
// Stop generated local streams.
ms_impl_->OnLocalMediaStreamStop(mixed_desc.label().utf8());

Powered by Google App Engine
This is Rietveld 408576698