| Index: net/cert/ct_log_response_parser.cc
|
| diff --git a/net/cert/ct_log_response_parser.cc b/net/cert/ct_log_response_parser.cc
|
| index 628eef286be0a1081267b53e504ce050ee28bf77..5baf1b33534dc8abbf1f18950c985cbf6b75eeba 100644
|
| --- a/net/cert/ct_log_response_parser.cc
|
| +++ b/net/cert/ct_log_response_parser.cc
|
| @@ -145,9 +145,7 @@ bool FillSignedTreeHead(const base::Value& json_signed_tree_head,
|
|
|
| signed_tree_head->version = SignedTreeHead::V1;
|
| signed_tree_head->tree_size = parsed_sth.tree_size;
|
| - signed_tree_head->timestamp =
|
| - base::Time::UnixEpoch() + base::TimeDelta::FromMilliseconds(
|
| - static_cast<int64_t>(parsed_sth.timestamp));
|
| + signed_tree_head->timestamp = base::Time::FromJsTime(parsed_sth.timestamp);
|
| signed_tree_head->signature = parsed_sth.signature;
|
| memcpy(signed_tree_head->sha256_root_hash,
|
| parsed_sth.sha256_root_hash.c_str(),
|
|
|