| Index: chrome/browser/ui/auto_login_infobar_delegate.cc
|
| ===================================================================
|
| --- chrome/browser/ui/auto_login_infobar_delegate.cc (revision 195254)
|
| +++ chrome/browser/ui/auto_login_infobar_delegate.cc (working copy)
|
| @@ -203,7 +203,7 @@
|
|
|
| bool AutoLoginInfoBarDelegate::Accept() {
|
| // AutoLoginRedirector deletes itself.
|
| - new AutoLoginRedirector(&owner()->GetWebContents()->GetController(),
|
| + new AutoLoginRedirector(&owner()->web_contents()->GetController(),
|
| params_.header.args);
|
| RecordHistogramAction(HISTOGRAM_ACCEPTED);
|
| button_pressed_ = true;
|
| @@ -212,7 +212,7 @@
|
|
|
| bool AutoLoginInfoBarDelegate::Cancel() {
|
| Profile* profile = Profile::FromBrowserContext(
|
| - owner()->GetWebContents()->GetBrowserContext());
|
| + owner()->web_contents()->GetBrowserContext());
|
| PrefService* pref_service = profile->GetPrefs();
|
| pref_service->SetBoolean(prefs::kAutologinEnabled, false);
|
| RecordHistogramAction(HISTOGRAM_REJECTED);
|
| @@ -236,7 +236,7 @@
|
| registrar_.Add(this,
|
| chrome::NOTIFICATION_GOOGLE_SIGNED_OUT,
|
| content::Source<Profile>(Profile::FromBrowserContext(
|
| - owner->GetWebContents()->GetBrowserContext())));
|
| + owner->web_contents()->GetBrowserContext())));
|
| }
|
|
|
| AutoLoginInfoBarDelegate::~AutoLoginInfoBarDelegate() {
|
|
|