Index: mojo/public/tests/test_support.cc |
diff --git a/mojo/public/tests/test_support.cc b/mojo/public/tests/test_support.cc |
index 0140c9f6b76cbea7bdb17c3f85fa0136dece81d5..078d418f4ddd9e65cf1487e5c63a4ac111f59647 100644 |
--- a/mojo/public/tests/test_support.cc |
+++ b/mojo/public/tests/test_support.cc |
@@ -12,16 +12,13 @@ namespace mojo { |
namespace test { |
TestBase::TestBase() { |
+ if (!system::CoreImpl::Get()) |
+ system::CoreImpl::Init(); |
} |
TestBase::~TestBase() { |
} |
-void TestBase::SetUp() { |
- if (!system::CoreImpl::Get()) |
- system::CoreImpl::Init(); |
-} |
- |
void IterateAndReportPerf(const char* test_name, |
base::Callback<void()> single_iteration) { |
// TODO(vtl): These should be specifiable using command-line flags. |