| Index: ppapi/proxy/ppp_video_decoder_proxy.cc
|
| diff --git a/ppapi/proxy/ppp_video_decoder_proxy.cc b/ppapi/proxy/ppp_video_decoder_proxy.cc
|
| index d0cb1f32b27db8c6329d7e10cdf6331e61f4e94b..ec431ab74cacca45cf5c7f7bdb717f9479037b60 100644
|
| --- a/ppapi/proxy/ppp_video_decoder_proxy.cc
|
| +++ b/ppapi/proxy/ppp_video_decoder_proxy.cc
|
| @@ -53,15 +53,6 @@ void PictureReady(PP_Instance instance, PP_Resource decoder,
|
| API_ID_PPP_VIDEO_DECODER_DEV, decoder_resource, *picture));
|
| }
|
|
|
| -void EndOfStream(PP_Instance instance, PP_Resource decoder) {
|
| - HostResource decoder_resource;
|
| - decoder_resource.SetHostResource(instance, decoder);
|
| -
|
| - HostDispatcher::GetForInstance(instance)->Send(
|
| - new PpapiMsg_PPPVideoDecoder_NotifyEndOfStream(
|
| - API_ID_PPP_VIDEO_DECODER_DEV, decoder_resource));
|
| -}
|
| -
|
| void NotifyError(PP_Instance instance, PP_Resource decoder,
|
| PP_VideoDecodeError_Dev error) {
|
| HostResource decoder_resource;
|
| @@ -76,7 +67,6 @@ static const PPP_VideoDecoder_Dev video_decoder_interface = {
|
| &ProvidePictureBuffers,
|
| &DismissPictureBuffer,
|
| &PictureReady,
|
| - &EndOfStream,
|
| &NotifyError
|
| };
|
|
|
| @@ -119,8 +109,6 @@ bool PPP_VideoDecoder_Proxy::OnMessageReceived(const IPC::Message& msg) {
|
| OnMsgDismissPictureBuffer)
|
| IPC_MESSAGE_HANDLER(PpapiMsg_PPPVideoDecoder_PictureReady,
|
| OnMsgPictureReady)
|
| - IPC_MESSAGE_HANDLER(PpapiMsg_PPPVideoDecoder_NotifyEndOfStream,
|
| - OnMsgNotifyEndOfStream)
|
| IPC_MESSAGE_HANDLER(PpapiMsg_PPPVideoDecoder_NotifyError,
|
| OnMsgNotifyError)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| @@ -154,14 +142,6 @@ void PPP_VideoDecoder_Proxy::OnMsgPictureReady(
|
| decoder.instance(), plugin_decoder, &picture);
|
| }
|
|
|
| -void PPP_VideoDecoder_Proxy::OnMsgNotifyEndOfStream(
|
| - const HostResource& decoder) {
|
| - PP_Resource plugin_decoder = PluginGlobals::Get()->plugin_resource_tracker()->
|
| - PluginResourceForHostResource(decoder);
|
| - ppp_video_decoder_impl_->EndOfStream(decoder.instance(),
|
| - plugin_decoder);
|
| -}
|
| -
|
| void PPP_VideoDecoder_Proxy::OnMsgNotifyError(
|
| const HostResource& decoder, PP_VideoDecodeError_Dev error) {
|
| PP_Resource plugin_decoder = PluginGlobals::Get()->plugin_resource_tracker()->
|
|
|