diff options
Diffstat (limited to 'ppapi/proxy/ppp_video_decoder_proxy.cc')
-rw-r--r-- | ppapi/proxy/ppp_video_decoder_proxy.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ppapi/proxy/ppp_video_decoder_proxy.cc b/ppapi/proxy/ppp_video_decoder_proxy.cc index 0f4bd25..a24d4c3 100644 --- a/ppapi/proxy/ppp_video_decoder_proxy.cc +++ b/ppapi/proxy/ppp_video_decoder_proxy.cc @@ -102,6 +102,9 @@ const InterfaceProxy::Info* PPP_VideoDecoder_Proxy::GetInfo() { } bool PPP_VideoDecoder_Proxy::OnMessageReceived(const IPC::Message& msg) { + if (!dispatcher()->IsPlugin()) + return false; + bool handled = true; IPC_BEGIN_MESSAGE_MAP(PPP_VideoDecoder_Proxy, msg) IPC_MESSAGE_HANDLER(PpapiMsg_PPPVideoDecoder_ProvidePictureBuffers, |