Index: chrome/browser/ui/webui/help/help_handler.cc |
diff --git a/chrome/browser/ui/webui/help/help_handler.cc b/chrome/browser/ui/webui/help/help_handler.cc |
index 6f3a246be2f659665f21efb848e254bb3cae6b65..ab3d4b58c482c80e2dccb3ed9ef5b1e8db4e131f 100644 |
--- a/chrome/browser/ui/webui/help/help_handler.cc |
+++ b/chrome/browser/ui/webui/help/help_handler.cc |
@@ -185,6 +185,9 @@ void HelpHandler::GetLocalizedValues(DictionaryValue* localized_strings) { |
} |
void HelpHandler::RegisterMessages() { |
+ registrar_.Add(this, chrome::NOTIFICATION_UPGRADE_RECOMMENDED, |
+ content::NotificationService::AllSources()); |
stuartmorgan
2012/04/24 09:12:20
Why this change in ordering? If it's important, it
Evan Stade
2012/04/24 17:52:40
change in ordering? it's now in a different functi
stuartmorgan
2012/04/24 19:20:03
Sorry, totally spaced on the elided lines in the r
|
+ |
web_ui()->RegisterMessageCallback("onPageLoaded", |
base::Bind(&HelpHandler::OnPageLoaded, base::Unretained(this))); |
web_ui()->RegisterMessageCallback("relaunchNow", |
@@ -248,9 +251,6 @@ void HelpHandler::OnPageLoaded(const ListValue* args) { |
version_updater_->GetReleaseChannel( |
base::Bind(&HelpHandler::OnReleaseChannel, base::Unretained(this))); |
#endif |
- |
- registrar_.Add(this, chrome::NOTIFICATION_UPGRADE_RECOMMENDED, |
- content::NotificationService::AllSources()); |
} |
#if defined(OS_MACOSX) |