Index: content/public/test/browser_test_base.h |
diff --git a/content/public/test/browser_test_base.h b/content/public/test/browser_test_base.h |
index e323d8878176f3b5e891173f2ede349b9477b780..69b73c74b211e3e7507f1aba95ac63b9d05099af 100644 |
--- a/content/public/test/browser_test_base.h |
+++ b/content/public/test/browser_test_base.h |
@@ -152,6 +152,11 @@ class BrowserTestBase : public testing::Test { |
// When true, do compositing with the software backend instead of using GL. |
bool use_software_compositing_; |
+ // Whether SetUp was called. This value is checked in the destructor of this |
+ // class to ensure that SetUp was called. If it's not called, the test will |
+ // not run and report a false positive result. |
+ bool set_up_called_; |
+ |
#if defined(OS_POSIX) |
bool handle_sigterm_; |
#endif |