summaryrefslogtreecommitdiffstats
path: root/chrome/views/native_control.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/native_control.cc')
-rw-r--r--chrome/views/native_control.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/native_control.cc b/chrome/views/native_control.cc
index 884af0e..ba7bc5d 100644
--- a/chrome/views/native_control.cc
+++ b/chrome/views/native_control.cc
@@ -38,7 +38,7 @@ class NativeControlContainer : public CWindowImpl<NativeControlContainer,
explicit NativeControlContainer(NativeControl* parent) : parent_(parent),
control_(NULL) {
- Create(parent->GetWidget()->GetHWND());
+ Create(parent->GetWidget()->GetNativeView());
::ShowWindow(m_hWnd, SW_SHOW);
}