diff --git a/atom/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.cc b/atom/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.cc index 6810d0fb5c6d..bb6254934637 100644 --- a/atom/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.cc +++ b/atom/browser/notifications/win/win32_desktop_notifications/desktop_notification_controller.cc @@ -426,7 +426,7 @@ void DesktopNotificationController::Notification::Set(std::wstring caption, DesktopNotificationController::NotificationLink::NotificationLink( DesktopNotificationController* controller) - : shared_ptr(make_shared()) { + : shared_ptr(make_shared(NotificationData())) { get()->controller = controller; }