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:
|
// NotificationPresenter:
|
||||||
void ShowNotification(
|
void ShowNotification(
|
||||||
const content::PlatformNotificationData&,
|
const content::PlatformNotificationData&,
|
||||||
|
const SkBitmap& icon,
|
||||||
scoped_ptr<content::DesktopNotificationDelegate> delegate,
|
scoped_ptr<content::DesktopNotificationDelegate> delegate,
|
||||||
base::Closure* cancel_callback) override;
|
base::Closure* cancel_callback) override;
|
||||||
|
|
||||||
|
|
|
@ -41,6 +41,7 @@ NotificationPresenterMac::~NotificationPresenterMac() {
|
||||||
|
|
||||||
void NotificationPresenterMac::ShowNotification(
|
void NotificationPresenterMac::ShowNotification(
|
||||||
const content::PlatformNotificationData& data,
|
const content::PlatformNotificationData& data,
|
||||||
|
const SkBitmap& icon,
|
||||||
scoped_ptr<content::DesktopNotificationDelegate> delegate,
|
scoped_ptr<content::DesktopNotificationDelegate> delegate,
|
||||||
base::Closure* cancel_callback) {
|
base::Closure* cancel_callback) {
|
||||||
auto notification = [[NSUserNotification alloc] init];
|
auto notification = [[NSUserNotification alloc] init];
|
||||||
|
|
Loading…
Reference in a new issue