diff options
Diffstat (limited to 'ppapi/proxy/ppp_instance_private_proxy_unittest.cc')
-rw-r--r-- | ppapi/proxy/ppp_instance_private_proxy_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/proxy/ppp_instance_private_proxy_unittest.cc b/ppapi/proxy/ppp_instance_private_proxy_unittest.cc index 957a3a7..6b87f12 100644 --- a/ppapi/proxy/ppp_instance_private_proxy_unittest.cc +++ b/ppapi/proxy/ppp_instance_private_proxy_unittest.cc @@ -58,7 +58,7 @@ PP_Var GetInstanceObject(PP_Instance /*instance*/) { // The 1 ref we got from CreateObject will be passed to the host. We want to // have a ref of our own. printf("GetInstanceObject called\n"); - plugin_var_deprecated_if()->AddRef(instance_obj); + PpapiGlobals::Get()->GetVarTracker()->AddRefVar(instance_obj); return instance_obj; } |