summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/constrained_window_impl.cc
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-09 20:20:47 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-09 20:20:47 +0000
commitd50cca412ec42dd9ccbc33cc38d1f7021a54b4fb (patch)
tree6cd4024bd99e5508b5e8226758924c1973210664 /chrome/browser/views/constrained_window_impl.cc
parentc3826037cbcb22fe784a10589061eaf084818727 (diff)
downloadchromium_src-d50cca412ec42dd9ccbc33cc38d1f7021a54b4fb.zip
chromium_src-d50cca412ec42dd9ccbc33cc38d1f7021a54b4fb.tar.gz
chromium_src-d50cca412ec42dd9ccbc33cc38d1f7021a54b4fb.tar.bz2
Switch from HWNDs to NativeViews.
Review URL: http://codereview.chromium.org/21143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9409 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/constrained_window_impl.cc')
-rw-r--r--chrome/browser/views/constrained_window_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/constrained_window_impl.cc b/chrome/browser/views/constrained_window_impl.cc
index de00ad2..3af7ed0 100644
--- a/chrome/browser/views/constrained_window_impl.cc
+++ b/chrome/browser/views/constrained_window_impl.cc
@@ -673,7 +673,7 @@ void ConstrainedWindowImpl::Init(TabContents* owner) {
}
void ConstrainedWindowImpl::InitAsDialog(const gfx::Rect& initial_bounds) {
- CustomFrameWindow::Init(owner_->GetContainerHWND(), initial_bounds);
+ CustomFrameWindow::Init(owner_->GetNativeView(), initial_bounds);
ActivateConstrainedWindow();
}