mac: Fix the notification presenter of new API.
This commit is contained in:
parent
e52a089ec2
commit
f552dc7ba4
3 changed files with 93 additions and 108 deletions
|
@ -70,7 +70,7 @@ void BrowserClient::ShowDesktopNotification(
|
|||
content::DesktopNotificationDelegate* delegate,
|
||||
base::Closure* cancel_callback) {
|
||||
auto presenter = notification_presenter();
|
||||
if (!presenter)
|
||||
if (presenter)
|
||||
presenter->ShowNotification(params, delegate, cancel_callback);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue