| Index: chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm
|
| diff --git a/chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm b/chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm
|
| index b1f6b1e73a27583903f8c84e27fac092870240f7..3304373a61f9c81117792201ff13fe4b90e7222e 100644
|
| --- a/chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm
|
| +++ b/chrome/browser/ui/cocoa/notifications/xpc_transaction_handler.mm
|
| @@ -35,7 +35,7 @@
|
| NSUserNotificationCenter* notificationCenter =
|
| [NSUserNotificationCenter defaultUserNotificationCenter];
|
| NSUInteger showing = [[notificationCenter deliveredNotifications] count];
|
| - if (showing == 0) {
|
| + if (showing == 0 && transactionOpen_) {
|
| xpc_transaction_end();
|
| transactionOpen_ = false;
|
| }
|
|
|