Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1879)

Unified Diff: chrome/browser/extensions/api/identity/web_auth_flow.cc

Issue 10868072: Make TabContents ctor private; poke hole for existing callers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: all green Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_));
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_view.cc ('k') | chrome/browser/extensions/api/offscreen_tabs/offscreen_tabs_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698