| 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 50f7356c5978ee9babd567a3f0bd82753e980b6f..0dd282e8adb6a630710b04d83a6a3aa278be992c 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
|
| @@ -206,7 +206,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);
|
| @@ -227,7 +227,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));
|
| @@ -287,7 +287,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);
|
|
|