Index: chrome/browser/ui/sync/one_click_signin_helper.cc |
=================================================================== |
--- chrome/browser/ui/sync/one_click_signin_helper.cc (revision 195254) |
+++ chrome/browser/ui/sync/one_click_signin_helper.cc (working copy) |
@@ -552,7 +552,7 @@ |
} |
bool OneClickInfoBarDelegateImpl::Accept() { |
- content::WebContents* web_contents = owner()->GetWebContents(); |
+ content::WebContents* web_contents = owner()->web_contents(); |
Browser* browser = chrome::FindBrowserWithWebContents(web_contents); |
Profile* profile = Profile::FromBrowserContext( |
web_contents->GetBrowserContext()); |
@@ -576,7 +576,7 @@ |
bool OneClickInfoBarDelegateImpl::Cancel() { |
AddEmailToOneClickRejectedList(Profile::FromBrowserContext( |
- owner()->GetWebContents()->GetBrowserContext()), email_); |
+ owner()->web_contents()->GetBrowserContext()), email_); |
RecordHistogramAction(one_click_signin::HISTOGRAM_REJECTED); |
button_pressed_ = true; |
return true; |
@@ -593,7 +593,7 @@ |
GURL(chrome::kChromeSyncLearnMoreURL), content::Referrer(), |
(disposition == CURRENT_TAB) ? NEW_FOREGROUND_TAB : disposition, |
content::PAGE_TRANSITION_LINK, false); |
- owner()->GetWebContents()->OpenURL(params); |
+ owner()->web_contents()->OpenURL(params); |
return false; |
} |