Index: chrome/browser/notifications/fullscreen_notification_blocker.cc |
diff --git a/chrome/browser/notifications/fullscreen_notification_blocker.cc b/chrome/browser/notifications/fullscreen_notification_blocker.cc |
index a0c0a7b45c33512ad7dab941e2de0277ec0691f7..afa369cf6645113a3a0c134455e590540f1e847c 100644 |
--- a/chrome/browser/notifications/fullscreen_notification_blocker.cc |
+++ b/chrome/browser/notifications/fullscreen_notification_blocker.cc |
@@ -66,12 +66,12 @@ void FullscreenNotificationBlocker::CheckState() { |
} |
bool FullscreenNotificationBlocker::ShouldShowNotificationAsPopup( |
- const message_center::NotifierId& notifier_id) const { |
+ const message_center::Notification& notification) const { |
bool enabled = !is_fullscreen_mode_; |
#if defined(USE_ASH) |
if (ash::Shell::HasInstance()) |
enabled = enabled || ash::system_notifier::ShouldAlwaysShowPopups( |
- notifier_id); |
+ notification.notifier_id()); |
#endif |
return enabled; |