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

Unified Diff: gpu/perftests/run_all_tests.cc

Issue 871093002: gpu: Perf test to check costs of texture upload at different stages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: "format" and "type" are now a parameter. Added a Measurement struct. 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
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);
}

Powered by Google App Engine
This is Rietveld 408576698