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 3c5fd2c796fa8ebae69e0bb159ec484456440827..03498b8ba9b41ab1ab26d66f12f68917142c4923 100644 |
--- a/chrome/browser/notifications/persistent_notification_delegate.cc |
+++ b/chrome/browser/notifications/persistent_notification_delegate.cc |
@@ -6,6 +6,7 @@ |
#include "base/bind.h" |
#include "base/guid.h" |
+#include "chrome/browser/notifications/notification_operation_common.h" |
#include "chrome/browser/notifications/platform_notification_service_impl.h" |
#include "content/public/common/persistent_notification_status.h" |
@@ -43,8 +44,7 @@ void PersistentNotificationDelegate::Click() { |
void PersistentNotificationDelegate::ButtonClick(int button_index) { |
DCHECK_GE(button_index, 0); |
if (button_index == notification_settings_index_) { |
- PlatformNotificationServiceImpl::GetInstance()->OpenNotificationSettings( |
- browser_context_); |
+ notification_operation_common::OpenNotificationSettings(browser_context_); |
return; |
} |
@@ -56,8 +56,7 @@ void PersistentNotificationDelegate::ButtonClick(int button_index) { |
} |
void PersistentNotificationDelegate::SettingsClick() { |
- PlatformNotificationServiceImpl::GetInstance()->OpenNotificationSettings( |
- browser_context_); |
+ notification_operation_common::OpenNotificationSettings(browser_context_); |
return; |
} |