summaryrefslogtreecommitdiffstats
path: root/chrome/browser/notifications/notification_ui_manager_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/notifications/notification_ui_manager_mac.mm')
-rw-r--r--chrome/browser/notifications/notification_ui_manager_mac.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/notifications/notification_ui_manager_mac.mm b/chrome/browser/notifications/notification_ui_manager_mac.mm
index 0becc02..7e1af00 100644
--- a/chrome/browser/notifications/notification_ui_manager_mac.mm
+++ b/chrome/browser/notifications/notification_ui_manager_mac.mm
@@ -120,8 +120,7 @@ NotificationUIManager* NotificationUIManager::Create(PrefService* local_state) {
NotificationUIManagerMac::NotificationUIManagerMac(PrefService* local_state)
: BalloonNotificationUIManager(local_state),
- delegate_(ALLOW_THIS_IN_INITIALIZER_LIST(
- [[NotificationCenterDelegate alloc] initWithManager:this])) {
+ delegate_([[NotificationCenterDelegate alloc] initWithManager:this]) {
DCHECK(!GetNotificationCenter().delegate);
GetNotificationCenter().delegate = delegate_.get();
}