| Index: content/browser/renderer_host/media/audio_output_authorization_handler_unittest.cc
|
| diff --git a/content/browser/renderer_host/media/audio_output_authorization_handler_unittest.cc b/content/browser/renderer_host/media/audio_output_authorization_handler_unittest.cc
|
| index 9b5c54d0580f7bf1004c10dd6fdc209cde16eee7..8f54be6cfea8efe8d7ca92552206948a2f5dc0d3 100644
|
| --- a/content/browser/renderer_host/media/audio_output_authorization_handler_unittest.cc
|
| +++ b/content/browser/renderer_host/media/audio_output_authorization_handler_unittest.cc
|
| @@ -132,10 +132,10 @@ class AudioOutputAuthorizationHandlerTest : public testing::Test {
|
| devices_to_enumerate,
|
| base::Bind(
|
| [](std::string* out, const MediaDeviceEnumeration& result) {
|
| - // Index 0 is default, so use 1.
|
| + // Index 0 is default, so use 1. We expect to have a nondefault
|
| + // device.
|
| CHECK(result[MediaDeviceType::MEDIA_DEVICE_TYPE_AUDIO_OUTPUT]
|
| - .size() > 1)
|
| - << "Expected to have a nondefault device.";
|
| + .size() > 1);
|
| *out = result[MediaDeviceType::MEDIA_DEVICE_TYPE_AUDIO_OUTPUT][1]
|
| .device_id;
|
| },
|
|
|