Chromium Code Reviews| Index: content/renderer/media/audio_device_factory.cc |
| diff --git a/content/renderer/media/audio_device_factory.cc b/content/renderer/media/audio_device_factory.cc |
| index f4acdbf6eceb97bcdd9aa3cdf39f87f1d9335bb7..89f88ff2a4ad7e0458ca03a4ab30dd60b7ed654e 100644 |
| --- a/content/renderer/media/audio_device_factory.cc |
| +++ b/content/renderer/media/audio_device_factory.cc |
| @@ -32,6 +32,8 @@ namespace { |
| // In this case we will time out, to avoid renderer hang forever waiting for |
| // device authorization (http://crbug/615589). This will result in "no audio". |
| const int64_t kMaxAuthorizationTimeoutMs = 1000; |
| +#elseif defined(OS_MACOSX) |
|
tommi (sloooow) - chröme
2016/10/17 15:52:00
elif? or just 'else if'
|
| +const int64_t kMaxAuthorizationTimeoutMs = 2000; |
| #else |
| const int64_t kMaxAuthorizationTimeoutMs = 0; // No timeout. |
| #endif // defined(OS_WIN) |