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

Unified Diff: ppapi/proxy/ppp_content_decryptor_private_proxy.cc

Issue 552423003: PPAPI: Make CallWhileUnlocked more permissive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | ppapi/proxy/ppp_printing_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppp_content_decryptor_private_proxy.cc
diff --git a/ppapi/proxy/ppp_content_decryptor_private_proxy.cc b/ppapi/proxy/ppp_content_decryptor_private_proxy.cc
index 9d9afcc1a7d87a20cb2344b0508d5d895f4de1e1..e956d12e52650f2e273aad4b8180938dcd5606fe 100644
--- a/ppapi/proxy/ppp_content_decryptor_private_proxy.cc
+++ b/ppapi/proxy/ppp_content_decryptor_private_proxy.cc
@@ -688,7 +688,7 @@ void PPP_ContentDecryptor_Private_Proxy::OnMsgDecrypt(
CallWhileUnlocked(ppp_decryptor_impl_->Decrypt,
instance,
plugin_resource.get(),
- const_cast<const PP_EncryptedBlockInfo*>(&block_info));
+ &block_info);
}
}
@@ -713,7 +713,7 @@ void PPP_ContentDecryptor_Private_Proxy::OnMsgInitializeAudioDecoder(
CallWhileUnlocked(
ppp_decryptor_impl_->InitializeAudioDecoder,
instance,
- const_cast<const PP_AudioDecoderConfig*>(&decoder_config),
+ &decoder_config,
plugin_resource.get());
}
}
@@ -739,7 +739,7 @@ void PPP_ContentDecryptor_Private_Proxy::OnMsgInitializeVideoDecoder(
CallWhileUnlocked(
ppp_decryptor_impl_->InitializeVideoDecoder,
instance,
- const_cast<const PP_VideoDecoderConfig*>(&decoder_config),
+ &decoder_config,
plugin_resource.get());
}
}
@@ -793,7 +793,7 @@ void PPP_ContentDecryptor_Private_Proxy::OnMsgDecryptAndDecode(
instance,
decoder_type,
plugin_resource.get(),
- const_cast<const PP_EncryptedBlockInfo*>(&block_info));
+ &block_info);
}
}
« no previous file with comments | « no previous file | ppapi/proxy/ppp_printing_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698