Index: ppapi/proxy/ppp_instance_private_proxy_unittest.cc |
=================================================================== |
--- ppapi/proxy/ppp_instance_private_proxy_unittest.cc (revision 121902) |
+++ ppapi/proxy/ppp_instance_private_proxy_unittest.cc (working copy) |
@@ -58,7 +58,7 @@ |
// 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; |
} |