mirror of
https://github.com/electron/electron.git
synced 2026-01-27 08:18:28 -05:00
Fix the build on OS X
This commit is contained in:
@@ -23,6 +23,7 @@ class NotificationPresenterMac : public NotificationPresenter {
|
||||
// NotificationPresenter:
|
||||
void ShowNotification(
|
||||
const content::PlatformNotificationData&,
|
||||
const SkBitmap& icon,
|
||||
scoped_ptr<content::DesktopNotificationDelegate> delegate,
|
||||
base::Closure* cancel_callback) override;
|
||||
|
||||
|
||||
@@ -41,6 +41,7 @@ NotificationPresenterMac::~NotificationPresenterMac() {
|
||||
|
||||
void NotificationPresenterMac::ShowNotification(
|
||||
const content::PlatformNotificationData& data,
|
||||
const SkBitmap& icon,
|
||||
scoped_ptr<content::DesktopNotificationDelegate> delegate,
|
||||
base::Closure* cancel_callback) {
|
||||
auto notification = [[NSUserNotification alloc] init];
|
||||
|
||||
Reference in New Issue
Block a user