| Index: content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
|
| diff --git a/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc b/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
|
| index 16179da50304b17c5b58b38f1aa6a8f1d7c0c9c5..83a503eb98c23138cd6488936b16198c92f48c13 100644
|
| --- a/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
|
| +++ b/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
|
| @@ -207,7 +207,7 @@ class MediaStreamDispatcherHostTest : public testing::Test {
|
| };
|
|
|
| TEST_F(MediaStreamDispatcherHostTest, GenerateStream) {
|
| - StreamOptions options(false, StreamOptions::kFacingUser);
|
| + StreamOptions options(false, true);
|
|
|
| EXPECT_CALL(*host_, OnStreamGenerated(kRenderId, kPageRequestId, 0, 1));
|
| host_->OnGenerateStream(kPageRequestId, options);
|
| @@ -228,7 +228,7 @@ TEST_F(MediaStreamDispatcherHostTest, GenerateThreeStreams) {
|
| // This test opens three video capture devices. Two fake devices exists and it
|
| // is expected the last call to |Open()| will open the first device again, but
|
| // with a different label.
|
| - StreamOptions options(false, StreamOptions::kFacingUser);
|
| + StreamOptions options(false, true);
|
|
|
| // Generate first stream.
|
| EXPECT_CALL(*host_, OnStreamGenerated(kRenderId, kPageRequestId, 0, 1));
|
| @@ -288,7 +288,7 @@ TEST_F(MediaStreamDispatcherHostTest, GenerateThreeStreams) {
|
| }
|
|
|
| TEST_F(MediaStreamDispatcherHostTest, FailDevice) {
|
| - StreamOptions options(false, StreamOptions::kFacingUser);
|
| + StreamOptions options(false, true);
|
|
|
| EXPECT_CALL(*host_, OnStreamGenerated(kRenderId, kPageRequestId, 0, 1));
|
| host_->OnGenerateStream(kPageRequestId, options);
|
|
|