Index: chrome/browser/ui/extensions/shell_window.cc |
diff --git a/chrome/browser/ui/extensions/shell_window.cc b/chrome/browser/ui/extensions/shell_window.cc |
index d85c28fb15dd5f2383dd81a74453c8f075092ab9..da858acec0c294be43baf41133ee3a0245abfac7 100644 |
--- a/chrome/browser/ui/extensions/shell_window.cc |
+++ b/chrome/browser/ui/extensions/shell_window.cc |
@@ -91,7 +91,7 @@ void ShellWindow::Init(const GURL& url, |
web_contents_ = WebContents::Create( |
profile(), SiteInstance::CreateForURL(profile(), url), MSG_ROUTING_NONE, |
NULL); |
- contents_.reset(new TabContents(web_contents_)); |
+ contents_.reset(TabContents::Factory::CreateTabContents(web_contents_)); |
content::WebContentsObserver::Observe(web_contents_); |
web_contents_->SetDelegate(this); |
chrome::SetViewType(web_contents_, chrome::VIEW_TYPE_APP_SHELL); |