| Index: ppapi/shared_impl/test_globals.h
|
| diff --git a/ppapi/shared_impl/test_globals.h b/ppapi/shared_impl/test_globals.h
|
| index d5d143934cca30d11f9cb8d61a9e38d81c5a9864..49f189f2d085877c81877c28f2ac95eddce0814b 100644
|
| --- a/ppapi/shared_impl/test_globals.h
|
| +++ b/ppapi/shared_impl/test_globals.h
|
| @@ -12,6 +12,15 @@
|
|
|
| namespace ppapi {
|
|
|
| +class TestVarTracker : public VarTracker {
|
| + public:
|
| + TestVarTracker() {}
|
| + virtual ~TestVarTracker() {}
|
| + virtual ArrayBufferVar* CreateArrayBuffer(uint32 size_in_bytes) OVERRIDE {
|
| + return NULL;
|
| + }
|
| +};
|
| +
|
| // Implementation of PpapiGlobals for tests that don't need either the host- or
|
| // plugin-specific implementations.
|
| class TestGlobals : public PpapiGlobals {
|
| @@ -28,7 +37,7 @@ class TestGlobals : public PpapiGlobals {
|
|
|
| private:
|
| ResourceTracker resource_tracker_;
|
| - VarTracker var_tracker_;
|
| + TestVarTracker var_tracker_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(TestGlobals);
|
| };
|
|
|