| Index: third_party/WebKit/Source/core/events/Event.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/Event.cpp b/third_party/WebKit/Source/core/events/Event.cpp
|
| index 68487d551634c0155fb61f6f3ee8cbb118e37006..779a2047a27693e1d25ace1ba3f31cb58a4f4f8e 100644
|
| --- a/third_party/WebKit/Source/core/events/Event.cpp
|
| +++ b/third_party/WebKit/Source/core/events/Event.cpp
|
| @@ -225,7 +225,7 @@ void Event::preventDefault() {
|
|
|
| const LocalDOMWindow* window =
|
| m_eventPath ? m_eventPath->windowEventContext().window() : 0;
|
| - if (window) {
|
| + if (window && shouldLogPassiveDevtoolsWarning()) {
|
| const char* devToolsMsg = nullptr;
|
| switch (m_handlingPassive) {
|
| case PassiveMode::NotPassive:
|
|
|