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

Unified Diff: gpu/perftests/run_all_tests.cc

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « gpu/gpu.gyp ('k') | gpu/perftests/texture_upload_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/perftests/run_all_tests.cc
diff --git a/gin/test/run_all_unittests.cc b/gpu/perftests/run_all_tests.cc
similarity index 56%
copy from gin/test/run_all_unittests.cc
copy to gpu/perftests/run_all_tests.cc
index 25500a6bc7d03f8192ba7500a8ef5479fdf6a2ca..ed0df882f742d085b18999e96af5ee50ea3a95bc 100644
--- a/gin/test/run_all_unittests.cc
+++ b/gpu/perftests/run_all_tests.cc
@@ -1,4 +1,4 @@
-// Copyright 2013 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.
@@ -9,7 +9,7 @@
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);
}
« no previous file with comments | « gpu/gpu.gyp ('k') | gpu/perftests/texture_upload_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698