| Index: ppapi/proxy/ppb_audio_input_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_audio_input_proxy.cc b/ppapi/proxy/ppb_audio_input_proxy.cc
|
| index 9427bb34675cb0fd2a649948b9f524139cac5bb4..2933edd08de8c847c8ac24aed4b25965dcc69768 100644
|
| --- a/ppapi/proxy/ppb_audio_input_proxy.cc
|
| +++ b/ppapi/proxy/ppb_audio_input_proxy.cc
|
| @@ -140,6 +140,9 @@ PP_Resource PPB_AudioInput_Proxy::CreateProxyResource(
|
| if (config.failed())
|
| return 0;
|
|
|
| + if (!audio_input_callback)
|
| + return 0;
|
| +
|
| HostResource result;
|
| dispatcher->Send(new PpapiHostMsg_PPBAudioInput_Create(
|
| API_ID_PPB_AUDIO_INPUT_DEV, instance_id,
|
|
|