Index: chrome/browser/chromeos/login/login_html_dialog.cc |
=================================================================== |
--- chrome/browser/chromeos/login/login_html_dialog.cc (revision 91880) |
+++ chrome/browser/chromeos/login/login_html_dialog.cc (working copy) |
@@ -65,7 +65,7 @@ |
if (bubble_frame_view_) { |
bubble_frame_view_->StartThrobber(); |
notification_registrar_.Add(this, |
- NotificationType::LOAD_COMPLETED_MAIN_FRAME, |
+ chrome::LOAD_COMPLETED_MAIN_FRAME, |
NotificationService::AllSources()); |
} |
html_view->InitDialog(); |
@@ -128,10 +128,10 @@ |
return true; |
} |
-void LoginHtmlDialog::Observe(NotificationType type, |
+void LoginHtmlDialog::Observe(int type, |
const NotificationSource& source, |
const NotificationDetails& details) { |
- DCHECK(type.value == NotificationType::LOAD_COMPLETED_MAIN_FRAME); |
+ DCHECK(type == chrome::LOAD_COMPLETED_MAIN_FRAME); |
if (bubble_frame_view_) |
bubble_frame_view_->StopThrobber(); |
} |