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

Unified Diff: content/browser/gpu/gpu_control_list_machine_model_info_unittest.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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: content/browser/gpu/gpu_control_list_machine_model_info_unittest.cc
diff --git a/content/browser/gpu/gpu_control_list_machine_model_info_unittest.cc b/content/browser/gpu/gpu_control_list_machine_model_info_unittest.cc
index b8c3b1fab80242b2f00ffa0b2862f1f8e86b6abf..8d00a33573b076c7d5b70755910290d0f6aa8767 100644
--- a/content/browser/gpu/gpu_control_list_machine_model_info_unittest.cc
+++ b/content/browser/gpu/gpu_control_list_machine_model_info_unittest.cc
@@ -47,8 +47,7 @@ TEST_F(MachineModelInfoTest, ValidModelInfo) {
}
TEST_F(MachineModelInfoTest, ModelComparison) {
- MachineModelInfo info("=", "model_a",
- ">", "3.4", "");
+ MachineModelInfo info("=", "model_a", ">", "3.4", std::string());
EXPECT_TRUE(info.Contains("model_a", "4"));
EXPECT_FALSE(info.Contains("model_b", "4"));
EXPECT_FALSE(info.Contains("model_a", "3.2"));
« no previous file with comments | « content/browser/gpu/gpu_control_list.cc ('k') | content/browser/gpu/gpu_control_list_number_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698