Index: trunk/src/chrome/browser/notifications/notification.cc |
=================================================================== |
--- trunk/src/chrome/browser/notifications/notification.cc (revision 199638) |
+++ trunk/src/chrome/browser/notifications/notification.cc (working copy) |
@@ -127,7 +127,9 @@ |
} |
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 |
} |