| Index: ppapi/shared_impl/resource_tracker_unittest.cc
|
| ===================================================================
|
| --- ppapi/shared_impl/resource_tracker_unittest.cc (revision 106146)
|
| +++ ppapi/shared_impl/resource_tracker_unittest.cc (working copy)
|
| @@ -7,7 +7,6 @@
|
| #include "base/compiler_specific.h"
|
| #include "ppapi/shared_impl/resource.h"
|
| #include "ppapi/shared_impl/resource_tracker.h"
|
| -#include "ppapi/shared_impl/test_globals.h"
|
| #include "ppapi/shared_impl/tracker_base.h"
|
|
|
| namespace ppapi {
|
| @@ -69,14 +68,20 @@
|
| ppapi::proxy::InterfaceID id) OVERRIDE {
|
| return NULL;
|
| }
|
| + virtual VarTracker* GetVarTracker() OVERRIDE {
|
| + return NULL;
|
| + }
|
| + virtual ResourceTracker* GetResourceTracker() OVERRIDE {
|
| + return &resource_tracker_;
|
| + }
|
| virtual PP_Module GetModuleForInstance(PP_Instance /* instance */) OVERRIDE {
|
| return 0;
|
| }
|
|
|
| - ResourceTracker& resource_tracker() { return *globals_.GetResourceTracker(); }
|
| + ResourceTracker& resource_tracker() { return resource_tracker_; }
|
|
|
| private:
|
| - TestGlobals globals_;
|
| + ResourceTracker resource_tracker_;
|
| };
|
|
|
| // Test that LastPluginRefWasDeleted is called when the last plugin ref was
|
|
|