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

Unified Diff: ppapi/proxy/plugin_var_tracker.cc

Issue 1814093003: LayoutTests: migrate nested-plugin-objects to ppapi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@update_linux_plugins_expectations
Patch Set: rebase Created 4 years, 9 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 | « content/renderer/pepper/plugin_object.cc ('k') | ppapi/tests/blink_deprecated_test_plugin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « content/renderer/pepper/plugin_object.cc ('k') | ppapi/tests/blink_deprecated_test_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698