summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/hwnd_html_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/hwnd_html_view.cc')
-rw-r--r--chrome/browser/views/hwnd_html_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/hwnd_html_view.cc b/chrome/browser/views/hwnd_html_view.cc
index 000d92b..9d28cca 100644
--- a/chrome/browser/views/hwnd_html_view.cc
+++ b/chrome/browser/views/hwnd_html_view.cc
@@ -57,5 +57,5 @@ void HWNDHtmlView::Init(HWND parent_hwnd) {
void HWNDHtmlView::ViewHierarchyChanged(bool is_add, View* parent,
View* child) {
if (is_add && GetWidget() && !initialized_)
- Init(GetWidget()->GetHWND());
+ Init(GetWidget()->GetNativeView());
}