fix HandleKeyboardEvent merge failure

This commit is contained in:
Jeremy Apthorp 2019-01-11 16:25:34 -08:00
parent 7764ca7209
commit 5e043812ef

View file

@ -27,7 +27,7 @@ bool CommonWebContentsDelegate::HandleKeyboardEvent(
// Escape exits tabbed fullscreen mode.
if (event.windows_key_code == ui::VKEY_ESCAPE && is_html_fullscreen()) {
ExitFullscreenModeForTab(source);
return;
return true;
}
// Check if the webContents has preferences and to ignore shortcuts