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

Unified Diff: ppapi/proxy/host_dispatcher.cc

Issue 7545014: Implement PPAPI VideoDecode out-of-process support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: responses to ddorwin and piman Created 9 years, 5 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
Index: ppapi/proxy/host_dispatcher.cc
diff --git a/ppapi/proxy/host_dispatcher.cc b/ppapi/proxy/host_dispatcher.cc
index 1137a544c5a08a34f15014d5e77b527ca8b74aa2..82b353e760efe98ad8977b0b13f9a9149b22430b 100644
--- a/ppapi/proxy/host_dispatcher.cc
+++ b/ppapi/proxy/host_dispatcher.cc
@@ -211,7 +211,12 @@ const void* HostDispatcher::GetProxiedInterface(const std::string& interface) {
if (iter == plugin_if_supported_.end()) {
// Need to query. Cache the result so we only do this once.
bool supported = false;
+
+ bool previous_reentrancy_value = allow_plugin_reentrancy_;
+ allow_plugin_reentrancy_ = true;
Ami GONE FROM CHROMIUM 2011/08/02 00:49:08 Revert this file
vrk (LEFT CHROMIUM) 2011/08/03 19:04:30 Done.
Send(new PpapiMsg_SupportsInterface(interface, &supported));
+ allow_plugin_reentrancy_ = previous_reentrancy_value;
+
std::pair<PluginIFSupportedMap::iterator, bool> iter_success_pair;
iter_success_pair = plugin_if_supported_.insert(
PluginIFSupportedMap::value_type(interface, supported));
@@ -271,4 +276,3 @@ ScopedModuleReference::~ScopedModuleReference() {
} // namespace proxy
} // namespace pp
-

Powered by Google App Engine
This is Rietveld 408576698