summaryrefslogtreecommitdiffstats
path: root/chrome/browser/native_ui_contents.cc
diff options
context:
space:
mode:
authorbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-30 05:43:17 +0000
committerbeng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-30 05:43:17 +0000
commita8da3a55ce6358c92cc976f105567f67789a2510 (patch)
tree26f58f20a9ab36ffe2cc8d563edacec5dfc7d3dd /chrome/browser/native_ui_contents.cc
parentf73bdc8c33f0b395ba058083505209baeedf9f38 (diff)
downloadchromium_src-a8da3a55ce6358c92cc976f105567f67789a2510.zip
chromium_src-a8da3a55ce6358c92cc976f105567f67789a2510.tar.gz
chromium_src-a8da3a55ce6358c92cc976f105567f67789a2510.tar.bz2
Make HWNDViewContainer set up its contents view separately from its Init method.
This is needed as a first step in further adjustments I'm going to be making to Window, ClientView, etc. B=1280060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/native_ui_contents.cc')
-rw-r--r--chrome/browser/native_ui_contents.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/native_ui_contents.cc b/chrome/browser/native_ui_contents.cc
index e36361f..ff7b24d 100644
--- a/chrome/browser/native_ui_contents.cc
+++ b/chrome/browser/native_ui_contents.cc
@@ -173,7 +173,7 @@ NativeUIContents::~NativeUIContents() {
void NativeUIContents::CreateView(HWND parent_hwnd,
const gfx::Rect& initial_bounds) {
set_delete_on_destroy(false);
- HWNDViewContainer::Init(parent_hwnd, initial_bounds, NULL, false);
+ HWNDViewContainer::Init(parent_hwnd, initial_bounds, false);
}
LRESULT NativeUIContents::OnCreate(LPCREATESTRUCT create_struct) {