Index: chrome/browser/chromeos/status/clock_menu_button.cc |
=================================================================== |
--- chrome/browser/chromeos/status/clock_menu_button.cc (revision 91880) |
+++ chrome/browser/chromeos/status/clock_menu_button.cc (working copy) |
@@ -98,10 +98,10 @@ |
// ClockMenuButton, NotificationObserver implementation: |
-void ClockMenuButton::Observe(NotificationType type, |
+void ClockMenuButton::Observe(int type, |
const NotificationSource& source, |
const NotificationDetails& details) { |
- if (type == NotificationType::PREF_CHANGED) { |
+ if (type == chrome::PREF_CHANGED) { |
std::string* pref_name = Details<std::string>(details).ptr(); |
if (*pref_name == prefs::kUse24HourClock) { |
UpdateText(); |