| Index: chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc
|
| diff --git a/chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc b/chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc
|
| index 1348d170dfd4a50a717953e1b5492753d9c783d9..f61714e127eed194e970852b72580b15b3f6cc00 100644
|
| --- a/chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc
|
| +++ b/chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.cc
|
| @@ -22,7 +22,8 @@ content::RenderViewHost* ChromeNotifierDelegate::GetRenderViewHost() const {
|
| }
|
|
|
| void ChromeNotifierDelegate::Close(bool by_user) {
|
| - chrome_notifier_->MarkNotificationAsDismissed(id_);
|
| + if (by_user)
|
| + chrome_notifier_->MarkNotificationAsDismissed(id_);
|
| }
|
|
|
| } // namespace notifier
|
|
|