| Index: Source/web/FrameLoaderClientImpl.cpp
|
| diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
|
| index e63ced73b452873d7737768e36fcf2e11c652b92..706b4b622586cadc904d4564a73962bc2aa981a7 100644
|
| --- a/Source/web/FrameLoaderClientImpl.cpp
|
| +++ b/Source/web/FrameLoaderClientImpl.cpp
|
| @@ -472,7 +472,7 @@ void FrameLoaderClientImpl::dispatchDidChangeThemeColor()
|
| static bool allowCreatingBackgroundTabs()
|
| {
|
| const WebInputEvent* inputEvent = WebViewImpl::currentInputEvent();
|
| - if (!inputEvent || (inputEvent->type != WebInputEvent::MouseUp && inputEvent->type != WebInputEvent::Char))
|
| + if (!inputEvent || (inputEvent->type != WebInputEvent::MouseUp && (inputEvent->type != WebInputEvent::RawKeyDown && inputEvent->type != WebInputEvent::KeyDown)))
|
| return false;
|
|
|
| unsigned short buttonNumber;
|
|
|