Index: webkit/plugins/ppapi/npobject_var.cc |
=================================================================== |
--- webkit/plugins/ppapi/npobject_var.cc (revision 106147) |
+++ webkit/plugins/ppapi/npobject_var.cc (working copy) |
@@ -7,10 +7,8 @@ |
#include "base/logging.h" |
#include "ppapi/c/pp_var.h" |
#include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" |
-#include "webkit/plugins/ppapi/host_globals.h" |
#include "webkit/plugins/ppapi/resource_tracker.h" |
-using webkit::ppapi::HostGlobals; |
using WebKit::WebBindings; |
namespace ppapi { |
@@ -24,12 +22,12 @@ |
pp_instance_(instance), |
np_object_(np_object) { |
WebBindings::retainObject(np_object_); |
- HostGlobals::Get()->host_resource_tracker()->AddNPObjectVar(this); |
+ webkit::ppapi::ResourceTracker::Get()->AddNPObjectVar(this); |
} |
NPObjectVar::~NPObjectVar() { |
if (pp_instance()) |
- HostGlobals::Get()->host_resource_tracker()->RemoveNPObjectVar(this); |
+ webkit::ppapi::ResourceTracker::Get()->RemoveNPObjectVar(this); |
WebBindings::releaseObject(np_object_); |
} |
@@ -62,7 +60,7 @@ |
if (var.type != PP_VARTYPE_OBJECT) |
return scoped_refptr<NPObjectVar>(NULL); |
scoped_refptr<Var> var_object( |
- PpapiGlobals::Get()->GetVarTracker()->GetVar(var)); |
+ webkit::ppapi::ResourceTracker::Get()->GetVarTracker()->GetVar(var)); |
if (!var_object) |
return scoped_refptr<NPObjectVar>(); |
return scoped_refptr<NPObjectVar>(var_object->AsNPObjectVar()); |
Property changes on: webkit/plugins/ppapi/npobject_var.cc |
___________________________________________________________________ |
Added: svn:mergeinfo |
Merged /branches/chrome_webkit_merge_branch/src/webkit/plugins/ppapi/npobject_var.cc:r3734-4217,4606-5108,5177-5263 |