summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/identity/web_auth_flow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/api/identity/web_auth_flow.cc')
-rw-r--r--chrome/browser/extensions/api/identity/web_auth_flow.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/extensions/api/identity/web_auth_flow.cc b/chrome/browser/extensions/api/identity/web_auth_flow.cc
index 1d602a1..b714980 100644
--- a/chrome/browser/extensions/api/identity/web_auth_flow.cc
+++ b/chrome/browser/extensions/api/identity/web_auth_flow.cc
@@ -112,8 +112,7 @@ void WebAuthFlow::ShowAuthFlowPopup() {
Browser::CreateParams browser_params(Browser::TYPE_POPUP, profile_);
browser_params.initial_bounds = initial_bounds_;
Browser* browser = new Browser(browser_params);
- chrome::NavigateParams params(
- browser, TabContents::Factory::CreateTabContents(contents_));
+ chrome::NavigateParams params(browser, contents_);
params.disposition = CURRENT_TAB;
params.window_action = chrome::NavigateParams::SHOW_WINDOW;
chrome::Navigate(&params);