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

Unified Diff: ppapi/proxy/ppp_class_proxy.cc

Issue 10678007: Invoke PluginImplementedObjectDestroyed for ppp_class deallocate (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/proxy/plugin_var_tracker_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppp_class_proxy.cc
diff --git a/ppapi/proxy/ppp_class_proxy.cc b/ppapi/proxy/ppp_class_proxy.cc
index 35f55d65dba6e3222fc52da07e6e7f030a662af8..2a122d6c6c4f9997e6d36f35a133c46ff9487110 100644
--- a/ppapi/proxy/ppp_class_proxy.cc
+++ b/ppapi/proxy/ppp_class_proxy.cc
@@ -342,6 +342,8 @@ void PPP_Class_Proxy::OnMsgDeallocate(int64 ppp_class, int64 object) {
if (!ValidateUserData(ppp_class, object, NULL))
return;
CallWhileUnlocked(ToPPPClass(ppp_class)->Deallocate, ToUserData(object));
+ PluginGlobals::Get()->plugin_var_tracker()->PluginImplementedObjectDestroyed(
brettw 2012/06/27 05:22:38 Actually, I'd feel slightly better if this was mov
Josh Horwich 2012/06/27 17:03:55 Done.
+ ToUserData(object));
}
bool PPP_Class_Proxy::ValidateUserData(int64 ppp_class, int64 class_data,
« no previous file with comments | « ppapi/proxy/plugin_var_tracker_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698