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

Unified Diff: net/http/http_vary_data_unittest.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-run on ToT, revert third_party changes and fix vexing parses. 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: net/http/http_vary_data_unittest.cc
diff --git a/net/http/http_vary_data_unittest.cc b/net/http/http_vary_data_unittest.cc
index 38e4e325c9969243509c7e2ea0e08ca0b46752d6..93ee4f45aee045befb721cf81a070c66c9f08429 100644
--- a/net/http/http_vary_data_unittest.cc
+++ b/net/http/http_vary_data_unittest.cc
@@ -41,7 +41,7 @@ TEST(HttpVaryDataTest, IsInvalid) {
for (size_t i = 0; i < arraysize(kTestResponses); ++i) {
TestTransaction t;
- t.Init("", kTestResponses[i]);
+ t.Init(std::string(), kTestResponses[i]);
net::HttpVaryData v;
EXPECT_FALSE(v.is_valid());

Powered by Google App Engine
This is Rietveld 408576698