Index: chrome/browser/chromeos/frame/layout_mode_button.cc |
=================================================================== |
--- chrome/browser/chromeos/frame/layout_mode_button.cc (revision 91880) |
+++ chrome/browser/chromeos/frame/layout_mode_button.cc (working copy) |
@@ -42,17 +42,17 @@ |
return ImageButton::HitTest(point); |
} |
-void LayoutModeButton::Observe(NotificationType type, |
+void LayoutModeButton::Observe(int type, |
const NotificationSource& source, |
const NotificationDetails& details) { |
- DCHECK(type == NotificationType::LAYOUT_MODE_CHANGED); |
+ DCHECK(type == chrome::LAYOUT_MODE_CHANGED); |
UpdateForCurrentLayoutMode(); |
} |
void LayoutModeButton::Init() { |
WmIpc* wm_ipc = WmIpc::instance(); |
registrar_.Add(this, |
- NotificationType::LAYOUT_MODE_CHANGED, |
+ chrome::LAYOUT_MODE_CHANGED, |
Source<WmIpc>(wm_ipc)); |
UpdateForCurrentLayoutMode(); |
} |