| Index: Source/web/FrameLoaderClientImpl.cpp
|
| diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
|
| index 6ae4d70b7047ea8a8d510925e25a8293fa7a7aef..b23c973cd5e46249f90cbc82be65273a748681a9 100644
|
| --- a/Source/web/FrameLoaderClientImpl.cpp
|
| +++ b/Source/web/FrameLoaderClientImpl.cpp
|
| @@ -477,8 +477,10 @@ void FrameLoaderClientImpl::dispatchDidChangeThemeColor()
|
|
|
| static bool allowCreatingBackgroundTabs()
|
| {
|
| +
|
| const WebInputEvent* inputEvent = WebViewImpl::currentInputEvent();
|
| - if (!inputEvent || (inputEvent->type != WebInputEvent::MouseUp && (inputEvent->type != WebInputEvent::RawKeyDown && inputEvent->type != WebInputEvent::KeyDown)))
|
| + if (!inputEvent || (inputEvent->type != WebInputEvent::MouseUp && (inputEvent->type != WebInputEvent::RawKeyDown && inputEvent->type != WebInputEvent::KeyDown)
|
| + && inputEvent->type != WebInputEvent::GestureTap))
|
| return false;
|
|
|
| unsigned short buttonNumber;
|
|
|