| Index: content/browser/renderer_host/media/audio_output_authorization_handler.cc
|
| diff --git a/content/browser/renderer_host/media/audio_output_authorization_handler.cc b/content/browser/renderer_host/media/audio_output_authorization_handler.cc
|
| index 9c8a1f469fe02de2221829dc8f8eb4056915c584..56f27ea1445b39a3cf097ba50d4fd12db5f3577d 100644
|
| --- a/content/browser/renderer_host/media/audio_output_authorization_handler.cc
|
| +++ b/content/browser/renderer_host/media/audio_output_authorization_handler.cc
|
| @@ -82,8 +82,8 @@ void AudioOutputAuthorizationHandler::RequestDeviceAuthorization(
|
| DCHECK_CURRENTLY_ON(BrowserThread::IO);
|
|
|
| if (!IsValidDeviceId(device_id)) {
|
| - bad_message::ReceivedBadMessage(render_process_id_,
|
| - bad_message::AOAH_NONSENSE_DEVICE_ID);
|
| + cb.Run(media::OUTPUT_DEVICE_STATUS_ERROR_NOT_FOUND, false,
|
| + media::AudioParameters::UnavailableDeviceParams(), std::string());
|
| return;
|
| }
|
|
|
|
|