Index: chrome/browser/chromeos/login/touch_login_view.cc |
diff --git a/chrome/browser/chromeos/login/touch_login_view.cc b/chrome/browser/chromeos/login/touch_login_view.cc |
index 19af1a049e03bdc00995a4d1b0b63d4c9f919c46..97cc42778dd23f13d997f29b2e811ff8b61149a3 100644 |
--- a/chrome/browser/chromeos/login/touch_login_view.cc |
+++ b/chrome/browser/chromeos/login/touch_login_view.cc |
@@ -56,12 +56,14 @@ void TouchLoginView::Init() { |
InitStatusArea(); |
InitVirtualKeyboard(); |
+ |
+ Source<TabContents> tab_contents(webui_login_->tab_contents())); |
registrar_.Add(this, |
content::NOTIFICATION_FOCUS_CHANGED_IN_PAGE, |
- NotificationService::AllSources()); |
+ tab_contents); |
registrar_.Add(this, |
content::NOTIFICATION_TAB_CONTENTS_DESTROYED, |
- NotificationService::AllSources()); |
+ tab_contents); |
registrar_.Add(this, |
chrome::NOTIFICATION_HIDE_KEYBOARD_INVOKED, |
NotificationService::AllSources()); |