chore: use base::Time::Now() directly (#29331)

This commit is contained in:
David Sanders 2021-05-26 02:24:44 -07:00 committed by GitHub
parent da35a8af31
commit ac079f11f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,7 +125,7 @@ void ElectronExtensionLoader::FinishExtensionLoad(
extension_prefs, extension.get()->id(),
extensions::pref_names::kPrefPreferences);
auto preference = update.Create();
const base::Time install_time = base::Time().Now();
const base::Time install_time = base::Time::Now();
preference->SetString(
"install_time", base::NumberToString(install_time.ToInternalValue()));
}