Fix the build on OS X

This commit is contained in:
Paul Betts 2015-04-20 13:29:10 -07:00
parent 3357dc0ef7
commit 7c52838ece
2 changed files with 2 additions and 0 deletions

View file

@ -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;

View file

@ -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];