diff options
author | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-15 01:44:47 +0000 |
---|---|---|
committer | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-15 01:44:47 +0000 |
commit | 4c41d3fd4bf9cfef6108f5f700d503820bcddba4 (patch) | |
tree | efc3cf9fdac963f1aa6449cea762408904a9f936 /ppapi/proxy/ppp_instance_private_proxy_unittest.cc | |
parent | 0f9386895aa7a61246eaa95246cbc0f05d320eee (diff) | |
download | chromium_src-4c41d3fd4bf9cfef6108f5f700d503820bcddba4.zip chromium_src-4c41d3fd4bf9cfef6108f5f700d503820bcddba4.tar.gz chromium_src-4c41d3fd4bf9cfef6108f5f700d503820bcddba4.tar.bz2 |
reland 121901, PPAPI: Add unlocking for PPP calls and callbacks...
"""
With this patch, ppapi_tests pass locally when building with enable_pepper_threading=1. (They didn't before).
TODO: Test more calls off the main thread, make sync completion callbacks work.
BUG=92909
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121901
"""
TBR=dmichael@chromium.org
Review URL: http://codereview.chromium.org/9361065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122001 0039d316-1c4b-4281-b951-d872f2087c98
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 6b87f12..957a3a7 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"); - PpapiGlobals::Get()->GetVarTracker()->AddRefVar(instance_obj); + plugin_var_deprecated_if()->AddRef(instance_obj); return instance_obj; } |