Index: gpu/perftests/run_all_tests.cc |
diff --git a/components/proximity_auth/run_all_unittests.cc b/gpu/perftests/run_all_tests.cc |
similarity index 68% |
copy from components/proximity_auth/run_all_unittests.cc |
copy to gpu/perftests/run_all_tests.cc |
index 959989c9985d7c03acc5eaed5260200f44f7bd55..ed0df882f742d085b18999e96af5ee50ea3a95bc 100644 |
--- a/components/proximity_auth/run_all_unittests.cc |
+++ b/gpu/perftests/run_all_tests.cc |
@@ -1,4 +1,4 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2015 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -8,8 +8,8 @@ |
int main(int argc, char** argv) { |
base::TestSuite test_suite(argc, argv); |
- return base::LaunchUnitTests( |
- argc, |
- argv, |
- base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite))); |
+ |
+ const auto& run_test_suite = |
+ base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)); |
+ return base::LaunchUnitTests(argc, argv, run_test_suite); |
} |