| 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;
|
| 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
|
| -
|
|
|