chore: use auto to avoid repeating type (#26113)
This commit is contained in:
parent
f714556a12
commit
4be10523e8
25 changed files with 38 additions and 48 deletions
|
@ -96,8 +96,7 @@ void PlatformNotificationService::DisplayNotification(
|
|||
// See: https://notifications.spec.whatwg.org/#showing-a-notification
|
||||
presenter->CloseNotificationWithId(notification_id);
|
||||
|
||||
NotificationDelegateImpl* delegate =
|
||||
new NotificationDelegateImpl(notification_id);
|
||||
auto* delegate = new NotificationDelegateImpl(notification_id);
|
||||
|
||||
auto notification = presenter->CreateNotification(delegate, notification_id);
|
||||
if (notification) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue