| Index: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
| index 6af1aa2bdb9f1a8a78c78f042559d28eaad4f3fe..19e46e46563afb88a4f3952a5260a34f3ebe03e7 100644
|
| --- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
|
| @@ -464,10 +464,11 @@ 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) &&
|
| - inputEvent->type() != WebInputEvent::GestureTap))
|
| + if (!inputEvent ||
|
| + (inputEvent->type() != WebInputEvent::MouseUp &&
|
| + (inputEvent->type() != WebInputEvent::RawKeyDown &&
|
| + inputEvent->type() != WebInputEvent::KeyDown) &&
|
| + inputEvent->type() != WebInputEvent::GestureTap))
|
| return false;
|
|
|
| unsigned short buttonNumber;
|
|
|