Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1116)

Unified Diff: ppapi/tests/test_case.h

Issue 400823004: gin (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698