| Index: ppapi/tests/test_instance_deprecated.h
|
| diff --git a/ppapi/tests/test_instance_deprecated.h b/ppapi/tests/test_instance_deprecated.h
|
| index 8b8150143e91a0798ae4c9bda571edecf0d6bb0a..9db1fb6190231c1e1222dcc82414ec4c70e15b5d 100644
|
| --- a/ppapi/tests/test_instance_deprecated.h
|
| +++ b/ppapi/tests/test_instance_deprecated.h
|
| @@ -20,12 +20,19 @@ class TestInstance : public TestCase {
|
|
|
| void set_string(const std::string& s) { string_ = s; }
|
|
|
| + // Leak a reference to the given var, but ignore the leak in the leak checking
|
| + // that happens at shutdown. This allows us to test the "ForceFree" that
|
| + // happens on instance shutdown.
|
| + void LeakReferenceAndIgnore(const pp::Var& leaked);
|
| +
|
| protected:
|
| // Test case protected overrides.
|
| virtual pp::deprecated::ScriptableObject* CreateTestObject();
|
|
|
| private:
|
| std::string TestExecuteScript();
|
| + std::string TestRecursiveObjects();
|
| + std::string TestLeakedObjectDestructors();
|
|
|
| // Value written by set_string which is called by the ScriptableObject. This
|
| // allows us to keep track of what was called.
|
|
|