| Index: chrome/browser/extensions/api/identity/web_auth_flow.cc
|
| diff --git a/chrome/browser/extensions/api/identity/web_auth_flow.cc b/chrome/browser/extensions/api/identity/web_auth_flow.cc
|
| index c016fca73780a2da707180b1168c9e43dc37268e..e5f37d0e76bef9dfb1eb3dbd67f99e6d4c4b2724 100644
|
| --- a/chrome/browser/extensions/api/identity/web_auth_flow.cc
|
| +++ b/chrome/browser/extensions/api/identity/web_auth_flow.cc
|
| @@ -108,7 +108,7 @@ WebContents* WebAuthFlow::CreateWebContents() {
|
|
|
| void WebAuthFlow::ShowAuthFlowPopup() {
|
| // Pass ownership of WebContents to TabContents.
|
| - tab_contents_ = new TabContents(contents_);
|
| + tab_contents_ = TabContents::Factory::CreateTabContents(contents_);
|
| contents_ = NULL;
|
| Browser* browser = new Browser(Browser::CreateParams(
|
| Browser::TYPE_POPUP, profile_));
|
|
|