| Index: content/test/run_all_perftests.cc
|
| diff --git a/content/test/run_all_perftests.cc b/content/test/run_all_perftests.cc
|
| index d3d1d3a6e871cdceec425e7afd9daa2d07481427..77aa196cd6d56d35fff8e41a405f885b5cb7f96f 100644
|
| --- a/content/test/run_all_perftests.cc
|
| +++ b/content/test/run_all_perftests.cc
|
| @@ -2,6 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "base/bind.h"
|
| +#include "base/test/launcher/unit_test_launcher.h"
|
| #include "content/public/test/unittest_test_suite.h"
|
| #include "content/test/content_test_suite.h"
|
|
|
| @@ -12,5 +14,7 @@ int main(int argc, char** argv) {
|
| // Always run the perf tests serially, to avoid distorting
|
| // perf measurements with randomness resulting from running
|
| // in parallel.
|
| - return test_suite.Run();
|
| + return base::LaunchUnitTestsSerially(
|
| + argc, argv, base::Bind(&content::UnitTestTestSuite::Run,
|
| + base::Unretained(&test_suite)));
|
| }
|
|
|