| Index: ppapi/proxy/ppb_video_capture_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_video_capture_proxy.cc b/ppapi/proxy/ppb_video_capture_proxy.cc
|
| index 7edfa503b5e52bb21f538be7b99f6d50743e1d7a..802c5ff5ebbf6c73397eaeee83ce3dfa554cfedb 100644
|
| --- a/ppapi/proxy/ppb_video_capture_proxy.cc
|
| +++ b/ppapi/proxy/ppb_video_capture_proxy.cc
|
| @@ -301,6 +301,9 @@ PP_Resource PPB_VideoCapture_Proxy::CreateProxyResource(PP_Instance instance) {
|
| }
|
|
|
| bool PPB_VideoCapture_Proxy::OnMessageReceived(const IPC::Message& msg) {
|
| + if (!dispatcher()->permissions().HasPermission(PERMISSION_DEV))
|
| + return false;
|
| +
|
| bool handled = true;
|
| IPC_BEGIN_MESSAGE_MAP(PPB_VideoCapture_Proxy, msg)
|
| IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBVideoCapture_Create, OnMsgCreate)
|
|
|