mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: modernize Value usage in converters (#34794)
* chore: modernize Value usage in converters * Date is parsed as an empty object now
This commit is contained in:
@@ -224,8 +224,8 @@ void Browser::ShowAboutPanel() {
|
||||
gtk_widget_destroy(dialogWidget);
|
||||
}
|
||||
|
||||
void Browser::SetAboutPanelOptions(base::DictionaryValue options) {
|
||||
about_panel_options_ = std::move(options);
|
||||
void Browser::SetAboutPanelOptions(base::Value::Dict options) {
|
||||
about_panel_options_ = base::Value(std::move(options));
|
||||
}
|
||||
|
||||
} // namespace electron
|
||||
|
||||
Reference in New Issue
Block a user