Fix keyboard handling for popups when window rendering is disabled (issue #962).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1276 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt 2013-06-10 18:00:46 +00:00
parent de41be81b8
commit a135b46e2c
1 changed files with 0 additions and 4 deletions

View File

@ -563,10 +563,6 @@ void CefRenderWidgetHostViewOSR::set_parent_host_view(
void CefRenderWidgetHostViewOSR::SendKeyEvent(
const content::NativeWebKeyboardEvent& event) {
if (!IsPopupWidget() && popup_host_view_) {
popup_host_view_->SendKeyEvent(event);
return;
}
if (!render_widget_host_)
return;
render_widget_host_->ForwardKeyboardEvent(event);