diff --git a/shell/browser/api/electron_api_push_notifications.h b/shell/browser/api/electron_api_push_notifications.h index f818afdd109d41..f0f46b5e574ee3 100644 --- a/shell/browser/api/electron_api_push_notifications.h +++ b/shell/browser/api/electron_api_push_notifications.h @@ -39,7 +39,7 @@ class PushNotifications PushNotifications& operator=(const PushNotifications&) = delete; #if BUILDFLAG(IS_MAC) - void OnDidReceiveAPNSNotification(const base::DictionaryValue& user_info); + void OnDidReceiveAPNSNotification(const base::Value::Dict& user_info); void ResolveAPNSPromiseSetWithToken(const std::string& token_string); void RejectAPNSPromiseSetWithError(const std::string& error_message); #endif diff --git a/shell/browser/api/electron_api_push_notifications_mac.mm b/shell/browser/api/electron_api_push_notifications_mac.mm index c52511625a7046..6838293937a8ff 100644 --- a/shell/browser/api/electron_api_push_notifications_mac.mm +++ b/shell/browser/api/electron_api_push_notifications_mac.mm @@ -53,7 +53,7 @@ } void PushNotifications::OnDidReceiveAPNSNotification( - const base::DictionaryValue& user_info) { + const base::Value::Dict& user_info) { Emit("received-apns-notification", user_info); } diff --git a/shell/browser/mac/electron_application_delegate.mm b/shell/browser/mac/electron_application_delegate.mm index 013f51137e4bf4..7dc351f4cc654f 100644 --- a/shell/browser/mac/electron_application_delegate.mm +++ b/shell/browser/mac/electron_application_delegate.mm @@ -193,7 +193,7 @@ - (void)application:(NSApplication*)application electron::api::PushNotifications::Get(); if (push_notifications) { electron::api::PushNotifications::Get()->OnDidReceiveAPNSNotification( - electron::NSDictionaryToDictionaryValue(userInfo)); + electron::NSDictionaryToValue(userInfo)); } }