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

Unified Diff: chrome/browser/chromeos/login/webui_login_view.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/chromeos/login/webui_login_view.cc
diff --git a/chrome/browser/chromeos/login/webui_login_view.cc b/chrome/browser/chromeos/login/webui_login_view.cc
index d286eaa1131f1b90b8ae63b93f730b45b8150bb9..bffbc8c9c65affc5d9f57e6ce9c4fab159cf9d37 100644
--- a/chrome/browser/chromeos/login/webui_login_view.cc
+++ b/chrome/browser/chromeos/login/webui_login_view.cc
@@ -154,7 +154,7 @@ void WebUILoginView::Init(views::Widget* login_window) {
NULL,
MSG_ROUTING_NONE,
NULL);
- tab_contents_.reset(new TabContents(web_contents));
+ tab_contents_.reset(TabContents::Factory::CreateTabContents(web_contents));
webui_login_->SetWebContents(web_contents);
web_contents->SetDelegate(this);
« no previous file with comments | « chrome/browser/chromeos/login/simple_web_view_dialog.cc ('k') | chrome/browser/extensions/api/identity/web_auth_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698