Index: net/cookies/canonical_cookie_unittest.cc |
diff --git a/net/cookies/canonical_cookie_unittest.cc b/net/cookies/canonical_cookie_unittest.cc |
index d7c25d188a6e4ff020b730030925f41d1dc40a14..161b27f3db669cceffd0f687ca36d38302d7fdc7 100644 |
--- a/net/cookies/canonical_cookie_unittest.cc |
+++ b/net/cookies/canonical_cookie_unittest.cc |
@@ -55,8 +55,16 @@ TEST(CanonicalCookieTest, Constructor) { |
EXPECT_EQ("/test", cookie.Path()); |
EXPECT_FALSE(cookie.IsSecure()); |
- CanonicalCookie cookie2(url, "A", "2", "", "", current_time, base::Time(), |
- current_time, false, false); |
+ CanonicalCookie cookie2(url, |
+ "A", |
+ "2", |
+ std::string(), |
+ std::string(), |
+ current_time, |
+ base::Time(), |
+ current_time, |
+ false, |
+ false); |
EXPECT_EQ(url.GetOrigin().spec(), cookie.Source()); |
EXPECT_EQ("A", cookie2.Name()); |
EXPECT_EQ("2", cookie2.Value()); |
@@ -287,7 +295,7 @@ TEST(CanonicalCookieTest, IsOnPath) { |
EXPECT_TRUE(cookie->IsOnPath("/test/bar.html")); |
// Test the empty string edge case. |
- EXPECT_FALSE(cookie->IsOnPath("")); |
+ EXPECT_FALSE(cookie->IsOnPath(std::string())); |
cookie.reset( |
CanonicalCookie::Create(GURL("http://www.example.com/test/foo.html"), |