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

Unified Diff: chrome/common/metrics/entropy_provider_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: chrome/common/metrics/entropy_provider_unittest.cc
diff --git a/chrome/common/metrics/entropy_provider_unittest.cc b/chrome/common/metrics/entropy_provider_unittest.cc
index 9881d7ef7c91e614dde1ff06761a2fda916925db..c3547ab7cade8676b270a9b816e40e2f93531111 100644
--- a/chrome/common/metrics/entropy_provider_unittest.cc
+++ b/chrome/common/metrics/entropy_provider_unittest.cc
@@ -200,7 +200,7 @@ TEST_F(EntropyProviderTest, UseOneTimeRandomizationSHA1) {
trials[i]->UseOneTimeRandomization();
for (int j = 0; j < 100; ++j)
- trials[i]->AppendGroup("", 1);
+ trials[i]->AppendGroup(std::string(), 1);
}
// The trials are most likely to give different results since they have
@@ -228,7 +228,7 @@ TEST_F(EntropyProviderTest, UseOneTimeRandomizationPermuted) {
trials[i]->UseOneTimeRandomization();
for (int j = 0; j < 100; ++j)
- trials[i]->AppendGroup("", 1);
+ trials[i]->AppendGroup(std::string(), 1);
}
// The trials are most likely to give different results since they have
« no previous file with comments | « chrome/common/json_schema/json_schema_validator_unittest_base.cc ('k') | chrome/common/net/x509_certificate_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698