Index: chrome/browser/ui/auto_login_prompter.cc |
=================================================================== |
--- chrome/browser/ui/auto_login_prompter.cc (revision 115228) |
+++ chrome/browser/ui/auto_login_prompter.cc (working copy) |
@@ -227,7 +227,7 @@ |
args_(args) { |
registrar_.Add(this, content::NOTIFICATION_LOAD_STOP, |
content::Source<NavigationController>( |
- &tab_contents_->controller())); |
+ &tab_contents_->GetController())); |
registrar_.Add(this, content::NOTIFICATION_TAB_CONTENTS_DESTROYED, |
content::Source<TabContents>(tab_contents_)); |
} |
@@ -333,7 +333,7 @@ |
InfoBarTabHelper* infobar_helper = wrapper->infobar_tab_helper(); |
Profile* profile = wrapper->profile(); |
infobar_helper->AddInfoBar(new AutoLoginInfoBarDelegate( |
- infobar_helper, &tab_contents_->controller(), |
+ infobar_helper, &tab_contents_->GetController(), |
profile->GetTokenService(), profile->GetPrefs(), |
username_, args_)); |
} |