Index: ppapi/proxy/plugin_var_tracker.cc |
diff --git a/ppapi/proxy/plugin_var_tracker.cc b/ppapi/proxy/plugin_var_tracker.cc |
index f7e68f8d1a249fc1155b68417850cf1aeef15f80..4b5e7325a122d9dcd6249aceb7961e04e153e64a 100644 |
--- a/ppapi/proxy/plugin_var_tracker.cc |
+++ b/ppapi/proxy/plugin_var_tracker.cc |
@@ -407,7 +407,7 @@ void PluginVarTracker::ObjectGettingZeroRef(VarMap::iterator iter) { |
if (found->second.instance == 0) { |
// Instance is destroyed. This means that we'll never get a Deallocate |
// call from the renderer and we should do so now. |
- found->second.ppp_class->Deallocate(found->first); |
+ CallWhileUnlocked(found->second.ppp_class->Deallocate, found->first); |
user_data_to_plugin_.erase(found); |
} else { |
// The plugin is releasing its last reference to an object it implements. |