chore: use base::Time::Now() directly (#29331)
This commit is contained in:
parent
da35a8af31
commit
ac079f11f3
1 changed files with 1 additions and 1 deletions
|
@ -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()));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue