From 3ff3493b8904ee4db7b41cd1676ccdcb127ecbd8 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Tue, 7 Apr 2009 16:48:07 +0000 Subject: Make the RenderViewHostFactory a global. This prevents us from having to pass a factory pointer around all the time. Removing TestTabContents will require making the Browser object keep track of the Factory pointer as well, so I think the global is the best approach and cleans some things up. Review URL: http://codereview.chromium.org/62044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13255 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/debugger/debugger_view.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/debugger/debugger_view.cc') diff --git a/chrome/browser/debugger/debugger_view.cc b/chrome/browser/debugger/debugger_view.cc index 19ea1f4..3a72171 100644 --- a/chrome/browser/debugger/debugger_view.cc +++ b/chrome/browser/debugger/debugger_view.cc @@ -97,7 +97,7 @@ void DebuggerView::OnInit() { // We can't create the WebContents until we've actually been put into a real // view hierarchy somewhere. Profile* profile = BrowserList::GetLastActive()->profile(); - web_contents_ = new WebContents(profile, NULL, NULL, MSG_ROUTING_NONE, NULL); + web_contents_ = new WebContents(profile, NULL, MSG_ROUTING_NONE, NULL); web_contents_->SetupController(profile); web_contents_->set_delegate(this); -- cgit v1.1