summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/enter_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy/enter_proxy.h')
-rw-r--r--ppapi/proxy/enter_proxy.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ppapi/proxy/enter_proxy.h b/ppapi/proxy/enter_proxy.h
index 96ac0c18..d7bf7c2 100644
--- a/ppapi/proxy/enter_proxy.h
+++ b/ppapi/proxy/enter_proxy.h
@@ -9,7 +9,6 @@
#include "ppapi/cpp/completion_callback.h"
#include "ppapi/proxy/host_dispatcher.h"
#include "ppapi/proxy/plugin_dispatcher.h"
-#include "ppapi/proxy/plugin_globals.h"
#include "ppapi/proxy/plugin_resource_tracker.h"
#include "ppapi/thunk/enter.h"
@@ -33,8 +32,8 @@ class EnterPluginFromHostResource
public:
EnterPluginFromHostResource(const HostResource& host_resource)
: thunk::EnterResourceNoLock<ResourceT>(
- PluginGlobals::Get()->plugin_resource_tracker()->
- PluginResourceForHostResource(host_resource),
+ PluginResourceTracker::GetInstance()->PluginResourceForHostResource(
+ host_resource),
false) {
// Validate that we're in the plugin rather than the host. Otherwise this
// object will do the wrong thing. In the plugin, the instance should have