From a135b46e2cfb3841f0181ba371f8e2eef64ef16e Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Mon, 10 Jun 2013 18:00:46 +0000 Subject: [PATCH] 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 --- libcef/browser/render_widget_host_view_osr.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libcef/browser/render_widget_host_view_osr.cc b/libcef/browser/render_widget_host_view_osr.cc index 90d74844f..afc31be1c 100644 --- a/libcef/browser/render_widget_host_view_osr.cc +++ b/libcef/browser/render_widget_host_view_osr.cc @@ -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);