diff options
Diffstat (limited to 'webkit/plugins/ppapi/ppapi_unittest.cc')
-rw-r--r-- | webkit/plugins/ppapi/ppapi_unittest.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/webkit/plugins/ppapi/ppapi_unittest.cc b/webkit/plugins/ppapi/ppapi_unittest.cc index 12cb99d..479871b 100644 --- a/webkit/plugins/ppapi/ppapi_unittest.cc +++ b/webkit/plugins/ppapi/ppapi_unittest.cc @@ -108,6 +108,12 @@ const void* PpapiUnittest::GetMockInterface(const char* interface_name) const { return NULL; } +void PpapiUnittest::ShutdownModule() { + DCHECK(instance_->HasOneRef()); + instance_ = NULL; + DCHECK(module_->HasOneRef()); + module_ = NULL; +} + } // namespace ppapi } // namespace webkit - |