Index: chrome/browser/extensions/api/cookies/cookies_unittest.cc |
diff --git a/chrome/browser/extensions/api/cookies/cookies_unittest.cc b/chrome/browser/extensions/api/cookies/cookies_unittest.cc |
index a236be223408cad3a4306e7f1b18d8e7c9de1e8b..6aeccbf2a6c940cf7aa45bc91529dd941bc11c28 100644 |
--- a/chrome/browser/extensions/api/cookies/cookies_unittest.cc |
+++ b/chrome/browser/extensions/api/cookies/cookies_unittest.cc |
@@ -188,7 +188,7 @@ TEST_F(ExtensionCookiesTest, DecodeUTF8WithErrorHandling) { |
std::unique_ptr<net::CanonicalCookie> canonical_cookie( |
net::CanonicalCookie::Create(GURL("http://test.com"), |
"=011Q255bNX_1!yd\203e+;path=/path\203", |
- base::Time(), net::CookieOptions())); |
+ base::Time::Now(), net::CookieOptions())); |
ASSERT_NE(nullptr, canonical_cookie.get()); |
Cookie cookie = |
cookies_helpers::CreateCookie(*canonical_cookie, "some cookie store"); |