Index: ppapi/tests/test_case.h |
diff --git a/ppapi/tests/test_case.h b/ppapi/tests/test_case.h |
index 948d2b73bb5c8e3e8b058c0cab5b17f6d1ebcc42..90283bd9f4e0bc0941747826b89abdd8898d029b 100644 |
--- a/ppapi/tests/test_case.h |
+++ b/ppapi/tests/test_case.h |
@@ -63,6 +63,7 @@ class TestCase { |
// Returns the scriptable test object for the current test, if any. |
// Internally, this uses CreateTestObject which each test overrides. |
pp::VarPrivate GetTestObject(); |
+ void ResetTestObject() { test_object_ = pp::VarPrivate(); } |
#endif |
// A function that is invoked whenever HandleMessage is called on the |