Index: net/http/http_cache_unittest.cc |
diff --git a/net/http/http_cache_unittest.cc b/net/http/http_cache_unittest.cc |
index 66349b61d3f17cf07d03399c0bab346671b54c04..189e952ec6b2eb157546d9297195b4f77263a0ed 100644 |
--- a/net/http/http_cache_unittest.cc |
+++ b/net/http/http_cache_unittest.cc |
@@ -6444,7 +6444,7 @@ TEST(HttpCache, WriteMetadata_OK) { |
// Trivial call. |
cache.http_cache()->WriteMetadata(GURL("foo"), net::DEFAULT_PRIORITY, |
- Time::Now().ToDoubleT(), NULL, 0); |
+ Time::Now(), NULL, 0); |
// Write meta data to the same entry. |
scoped_refptr<net::IOBufferWithSize> buf(new net::IOBufferWithSize(50)); |
@@ -6452,7 +6452,7 @@ TEST(HttpCache, WriteMetadata_OK) { |
base::strlcpy(buf->data(), "Hi there", buf->size()); |
cache.http_cache()->WriteMetadata( |
GURL(kSimpleGET_Transaction.url), net::DEFAULT_PRIORITY, |
- response.response_time.ToDoubleT(), buf.get(), buf->size()); |
+ response.response_time, buf.get(), buf->size()); |
// Release the buffer before the operation takes place. |
buf = NULL; |
@@ -6487,9 +6487,9 @@ TEST(HttpCache, WriteMetadata_Fail) { |
base::strlcpy(buf->data(), "Hi there", buf->size()); |
base::Time expected_time = response.response_time - |
base::TimeDelta::FromMilliseconds(20); |
- cache.http_cache()->WriteMetadata( |
- GURL(kSimpleGET_Transaction.url), net::DEFAULT_PRIORITY, |
- expected_time.ToDoubleT(), buf.get(), buf->size()); |
+ cache.http_cache()->WriteMetadata(GURL(kSimpleGET_Transaction.url), |
+ net::DEFAULT_PRIORITY, expected_time, |
+ buf.get(), buf->size()); |
// Makes sure we finish pending operations. |
base::MessageLoop::current()->RunUntilIdle(); |
@@ -6520,7 +6520,7 @@ TEST(HttpCache, ReadMetadata) { |
base::strlcpy(buf->data(), "Hi there", buf->size()); |
cache.http_cache()->WriteMetadata( |
GURL(kTypicalGET_Transaction.url), net::DEFAULT_PRIORITY, |
- response.response_time.ToDoubleT(), buf.get(), buf->size()); |
+ response.response_time, buf.get(), buf->size()); |
// Makes sure we finish pending operations. |
base::MessageLoop::current()->RunUntilIdle(); |