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

Unified Diff: webkit/plugins/ppapi/host_globals.cc

Issue 10542150: Actually free plugin implement vars when running out of process when the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | « ppapi/shared_impl/var_tracker.h ('k') | webkit/plugins/ppapi/host_var_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/host_globals.cc
===================================================================
--- webkit/plugins/ppapi/host_globals.cc (revision 141525)
+++ webkit/plugins/ppapi/host_globals.cc (working copy)
@@ -240,13 +240,13 @@
void HostGlobals::InstanceDeleted(PP_Instance instance) {
resource_tracker_.DidDeleteInstance(instance);
- host_var_tracker_.ForceFreeNPObjectsForInstance(instance);
+ host_var_tracker_.DidDeleteInstance(instance);
instance_map_.erase(instance);
}
void HostGlobals::InstanceCrashed(PP_Instance instance) {
resource_tracker_.DidDeleteInstance(instance);
- host_var_tracker_.ForceFreeNPObjectsForInstance(instance);
+ host_var_tracker_.DidDeleteInstance(instance);
}
PluginInstance* HostGlobals::GetInstance(PP_Instance instance) {
« no previous file with comments | « ppapi/shared_impl/var_tracker.h ('k') | webkit/plugins/ppapi/host_var_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698