| Index: chrome/browser/notifications/persistent_notification_delegate.cc
|
| diff --git a/chrome/browser/notifications/persistent_notification_delegate.cc b/chrome/browser/notifications/persistent_notification_delegate.cc
|
| index 84a2576605af4cebfafc8a8f483ffa4f8338a9a6..fa9b761bf549a7f3cc67cc9544addf7d053a53db 100644
|
| --- a/chrome/browser/notifications/persistent_notification_delegate.cc
|
| +++ b/chrome/browser/notifications/persistent_notification_delegate.cc
|
| @@ -9,14 +9,6 @@
|
| #include "chrome/browser/notifications/platform_notification_service_impl.h"
|
| #include "content/public/common/persistent_notification_status.h"
|
|
|
| -namespace {
|
| -
|
| -// Persistent notifications fired through the delegate do not care about the
|
| -// lifetime of the Service Worker responsible for executing the event.
|
| -void OnEventDispatchComplete(content::PersistentNotificationStatus status) {}
|
| -
|
| -} // namespace
|
| -
|
| PersistentNotificationDelegate::PersistentNotificationDelegate(
|
| content::BrowserContext* browser_context,
|
| int64_t persistent_notification_id,
|
| @@ -36,8 +28,7 @@ void PersistentNotificationDelegate::Click() {
|
| PlatformNotificationServiceImpl::GetInstance()->OnPersistentNotificationClick(
|
| browser_context_,
|
| persistent_notification_id_,
|
| - origin_,
|
| - base::Bind(&OnEventDispatchComplete));
|
| + origin_);
|
| }
|
|
|
| std::string PersistentNotificationDelegate::id() const {
|
|
|