Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6274)

Unified Diff: chrome/browser/notifications/notification.cc

Issue 15025002: Remove ENABLE_MESSAGE_CENTER (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixing static initializer Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/notifications/notification.cc
diff --git a/chrome/browser/notifications/notification.cc b/chrome/browser/notifications/notification.cc
index 1077b048af6e720423c7f8a68b136eb37790398c..b45bf1ef6516b6496a0c03442f95b155b63ac7ab 100644
--- a/chrome/browser/notifications/notification.cc
+++ b/chrome/browser/notifications/notification.cc
@@ -127,9 +127,7 @@ Notification& Notification::operator=(const Notification& notification) {
}
void Notification::DisableTimeout() {
-#if defined(ENABLE_MESSAGE_CENTER)
if (!optional_fields_.get())
optional_fields_.reset(new base::DictionaryValue());
optional_fields_->SetBoolean(message_center::kPrivateNeverTimeoutKey, true);
-#endif
}

Powered by Google App Engine
This is Rietveld 408576698