Index: ppapi/proxy/ppp_instance_proxy.cc |
diff --git a/ppapi/proxy/ppp_instance_proxy.cc b/ppapi/proxy/ppp_instance_proxy.cc |
index 05c061bef4ce7d90fceb6f07313764eab8252630..612fb772f7321c231174ebc28fea87d3b3b65416 100644 |
--- a/ppapi/proxy/ppp_instance_proxy.cc |
+++ b/ppapi/proxy/ppp_instance_proxy.cc |
@@ -165,6 +165,7 @@ void PPP_Instance_Proxy::OnMsgDidCreate( |
PluginDispatcher* plugin_dispatcher = |
static_cast<PluginDispatcher*>(dispatcher()); |
plugin_dispatcher->DidCreateInstance(instance); |
+ ppapi::TrackerBase::Get()->GetResourceTracker()->DidCreateInstance(instance); |
// Make sure the arrays always have at least one element so we can take the |
// address below. |
@@ -185,6 +186,7 @@ void PPP_Instance_Proxy::OnMsgDidCreate( |
void PPP_Instance_Proxy::OnMsgDidDestroy(PP_Instance instance) { |
combined_interface_->DidDestroy(instance); |
+ ppapi::TrackerBase::Get()->GetResourceTracker()->DidDeleteInstance(instance); |
static_cast<PluginDispatcher*>(dispatcher())->DidDestroyInstance(instance); |
} |