| Index: ppapi/proxy/ppp_messaging_proxy.cc
|
| ===================================================================
|
| --- ppapi/proxy/ppp_messaging_proxy.cc (revision 106515)
|
| +++ ppapi/proxy/ppp_messaging_proxy.cc (working copy)
|
| @@ -12,6 +12,8 @@
|
| #include "ppapi/proxy/plugin_var_tracker.h"
|
| #include "ppapi/proxy/ppapi_messages.h"
|
| #include "ppapi/proxy/serialized_var.h"
|
| +#include "ppapi/shared_impl/ppapi_globals.h"
|
| +#include "ppapi/shared_impl/var_tracker.h"
|
|
|
| namespace ppapi {
|
| namespace proxy {
|
| @@ -82,7 +84,7 @@
|
| PP_Var received_var(message_data.Get(dispatcher()));
|
| // SerializedVarReceiveInput will decrement the reference count, but we want
|
| // to give the recipient a reference.
|
| - PluginResourceTracker::GetInstance()->var_tracker().AddRefVar(received_var);
|
| + PpapiGlobals::Get()->GetVarTracker()->AddRefVar(received_var);
|
| ppp_messaging_impl_->HandleMessage(instance, received_var);
|
| }
|
|
|
|
|