Chromium Code Reviews| 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..f26df7f17ed8f8be2f905f60e0f680f48dc8a97f 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() {} |
|
brettw
2011/12/15 00:19:51
Need one less space of indent
|
| + 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); |
| }; |