summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/frame
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-07 01:57:00 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-07 01:57:00 +0000
commitd7d445a899d59a295e9c5b7bb2acd3854b011c31 (patch)
tree00a1e74fcb6f894e12e8f88d6258505879487076 /chrome/browser/views/frame
parent40fd10a28d79a944f7c2cd8de62d4c3d663a9782 (diff)
downloadchromium_src-d7d445a899d59a295e9c5b7bb2acd3854b011c31.zip
chromium_src-d7d445a899d59a295e9c5b7bb2acd3854b011c31.tar.gz
chromium_src-d7d445a899d59a295e9c5b7bb2acd3854b011c31.tar.bz2
Clean up contents creation in BrowserView
TBR=brettw BUG=none TEST=none Review URL: http://codereview.chromium.org/155029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20007 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/frame')
-rw-r--r--chrome/browser/views/frame/browser_view.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc
index 04d9988..fcc2318 100644
--- a/chrome/browser/views/frame/browser_view.cc
+++ b/chrome/browser/views/frame/browser_view.cc
@@ -1435,15 +1435,13 @@ void BrowserView::Init() {
AddChildView(infobar_container_);
contents_container_ = new TabContentsContainer;
- set_contents_view(contents_container_);
-
devtools_container_ = new TabContentsContainer;
contents_split_ = new views::SingleSplitView(
contents_container_,
devtools_container_,
views::SingleSplitView::VERTICAL_SPLIT);
-
AddChildView(contents_split_);
+ set_contents_view(contents_split_);
status_bubble_.reset(new StatusBubbleViews(GetWidget()));