Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Unified Diff: ppapi/proxy/ppp_video_decoder_proxy.cc

Issue 9348092: Revert 121901 - PPAPI: Add unlocking for PPP calls and callbacks. Add more locking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppp_mouse_lock_proxy.cc ('k') | ppapi/proxy/serialized_var_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppp_video_decoder_proxy.cc
===================================================================
--- ppapi/proxy/ppp_video_decoder_proxy.cc (revision 121902)
+++ ppapi/proxy/ppp_video_decoder_proxy.cc (working copy)
@@ -122,41 +122,32 @@
const PP_Size& dimensions) {
PP_Resource plugin_decoder = PluginGlobals::Get()->plugin_resource_tracker()->
PluginResourceForHostResource(decoder);
- CallWhileUnlocked(ppp_video_decoder_impl_->ProvidePictureBuffers,
- decoder.instance(),
- plugin_decoder,
- req_num_of_bufs,
- &dimensions);
+ ppp_video_decoder_impl_->ProvidePictureBuffers(
+ decoder.instance(), plugin_decoder, req_num_of_bufs, &dimensions);
}
void PPP_VideoDecoder_Proxy::OnMsgDismissPictureBuffer(
const HostResource& decoder, int32_t picture_id) {
PP_Resource plugin_decoder = PluginGlobals::Get()->plugin_resource_tracker()->
PluginResourceForHostResource(decoder);
- CallWhileUnlocked(ppp_video_decoder_impl_->DismissPictureBuffer,
- decoder.instance(),
- plugin_decoder,
- picture_id);
+ ppp_video_decoder_impl_->DismissPictureBuffer(
+ decoder.instance(), plugin_decoder, picture_id);
}
void PPP_VideoDecoder_Proxy::OnMsgPictureReady(
const HostResource& decoder, const PP_Picture_Dev& picture) {
PP_Resource plugin_decoder = PluginGlobals::Get()->plugin_resource_tracker()->
PluginResourceForHostResource(decoder);
- CallWhileUnlocked(ppp_video_decoder_impl_->PictureReady,
- decoder.instance(),
- plugin_decoder,
- &picture);
+ ppp_video_decoder_impl_->PictureReady(
+ decoder.instance(), plugin_decoder, &picture);
}
void PPP_VideoDecoder_Proxy::OnMsgNotifyError(
const HostResource& decoder, PP_VideoDecodeError_Dev error) {
PP_Resource plugin_decoder = PluginGlobals::Get()->plugin_resource_tracker()->
PluginResourceForHostResource(decoder);
- CallWhileUnlocked(ppp_video_decoder_impl_->NotifyError,
- decoder.instance(),
- plugin_decoder,
- error);
+ ppp_video_decoder_impl_->NotifyError(
+ decoder.instance(), plugin_decoder, error);
}
} // namespace proxy
« no previous file with comments | « ppapi/proxy/ppp_mouse_lock_proxy.cc ('k') | ppapi/proxy/serialized_var_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698