| Index: chrome/browser/budget_service/budget_database.cc
|
| diff --git a/chrome/browser/budget_service/budget_database.cc b/chrome/browser/budget_service/budget_database.cc
|
| index 74a9892a816a199d465f1e29a4d44c77851856a8..49bf7af3ca29308bc66c3ad937950339ab2e0571 100644
|
| --- a/chrome/browser/budget_service/budget_database.cc
|
| +++ b/chrome/browser/budget_service/budget_database.cc
|
| @@ -156,7 +156,7 @@ void BudgetDatabase::GetBudgetAfterSync(const url::Origin& origin,
|
| // Always add one entry at the front of the list for the total budget now.
|
| blink::mojom::BudgetStatePtr prediction(blink::mojom::BudgetState::New());
|
| prediction->budget_at = total;
|
| - prediction->time = clock_->Now().ToDoubleT();
|
| + prediction->time = clock_->Now().ToJsTime();
|
| predictions.push_back(std::move(prediction));
|
|
|
| // Starting with the soonest expiring chunks, add entries for the
|
| @@ -166,7 +166,7 @@ void BudgetDatabase::GetBudgetAfterSync(const url::Origin& origin,
|
| blink::mojom::BudgetStatePtr prediction(blink::mojom::BudgetState::New());
|
| total -= chunk.amount;
|
| prediction->budget_at = total;
|
| - prediction->time = chunk.expiration.ToDoubleT();
|
| + prediction->time = chunk.expiration.ToJsTime();
|
| predictions.push_back(std::move(prediction));
|
| }
|
|
|
|
|