Fix the build on OS X
This commit is contained in:
parent
3357dc0ef7
commit
7c52838ece
2 changed files with 2 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue