| Index: ppapi/proxy/ppb_video_decoder_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_video_decoder_proxy.cc b/ppapi/proxy/ppb_video_decoder_proxy.cc
|
| index 2965fea4188fd6c58c20bcb60fd129d08b08b089..4689be638ae24ec06f72cee34fec9ae90bbc0608 100644
|
| --- a/ppapi/proxy/ppb_video_decoder_proxy.cc
|
| +++ b/ppapi/proxy/ppb_video_decoder_proxy.cc
|
| @@ -155,6 +155,9 @@ PPB_VideoDecoder_Proxy::~PPB_VideoDecoder_Proxy() {
|
| }
|
|
|
| bool PPB_VideoDecoder_Proxy::OnMessageReceived(const IPC::Message& msg) {
|
| + if (!dispatcher()->permissions().HasPermission(PERMISSION_DEV))
|
| + return false;
|
| +
|
| bool handled = true;
|
| IPC_BEGIN_MESSAGE_MAP(PPB_VideoDecoder_Proxy, msg)
|
| IPC_MESSAGE_HANDLER(PpapiHostMsg_PPBVideoDecoder_Create,
|
|
|