| Index: chrome/browser/ui/extensions/app_metro_infobar_delegate_win.cc
|
| ===================================================================
|
| --- chrome/browser/ui/extensions/app_metro_infobar_delegate_win.cc (revision 195254)
|
| +++ chrome/browser/ui/extensions/app_metro_infobar_delegate_win.cc (working copy)
|
| @@ -93,7 +93,7 @@
|
|
|
| bool AppMetroInfoBarDelegateWin::Accept() {
|
| PrefService* prefs = g_browser_process->local_state();
|
| - content::WebContents* web_contents = owner()->GetWebContents();
|
| + content::WebContents* web_contents = owner()->web_contents();
|
| if (mode_ == SHOW_APP_LIST) {
|
| prefs->SetBoolean(prefs::kRestartWithAppList, true);
|
| } else {
|
| @@ -108,7 +108,7 @@
|
| }
|
|
|
| bool AppMetroInfoBarDelegateWin::Cancel() {
|
| - owner()->GetWebContents()->Close();
|
| + owner()->web_contents()->Close();
|
| return false;
|
| }
|
|
|
| @@ -123,7 +123,7 @@
|
| 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;
|
| }
|
|
|
|
|