| Index: chrome/browser/ui/views/dropdown_bar_host_win.cc
|
| diff --git a/chrome/browser/ui/views/dropdown_bar_host_win.cc b/chrome/browser/ui/views/dropdown_bar_host_win.cc
|
| index f636a78f910ee46f8264c0bbd319731003b1342f..04bb65d7e8fe313825f36880c09e34379c8cf8d7 100644
|
| --- a/chrome/browser/ui/views/dropdown_bar_host_win.cc
|
| +++ b/chrome/browser/ui/views/dropdown_bar_host_win.cc
|
| @@ -19,7 +19,7 @@ using content::WebContents;
|
| NativeWebKeyboardEvent DropdownBarHost::GetKeyboardEvent(
|
| const WebContents* contents,
|
| const ui::KeyEvent& key_event) {
|
| - HWND hwnd = contents->GetContentNativeView();
|
| + HWND hwnd = contents->GetView()->GetContentNativeView();
|
| WORD key = WindowsKeyCodeForKeyboardCode(key_event.key_code());
|
|
|
| MSG msg = { hwnd, key_event.native_event().message, key, 0 };
|
|
|