| Index: third_party/WebKit/Source/core/dom/Node.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Node.cpp b/third_party/WebKit/Source/core/dom/Node.cpp
|
| index a61464b7c7b714a55b57fa53ef6c8f894772ec11..752e30a519db1f3157c6fe54de31537f77c17df0 100644
|
| --- a/third_party/WebKit/Source/core/dom/Node.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Node.cpp
|
| @@ -88,6 +88,7 @@
|
| #include "core/frame/FrameView.h"
|
| #include "core/frame/LocalDOMWindow.h"
|
| #include "core/frame/LocalFrame.h"
|
| +#include "core/frame/UseCounter.h"
|
| #include "core/html/HTMLDialogElement.h"
|
| #include "core/html/HTMLFrameOwnerElement.h"
|
| #include "core/html/HTMLSlotElement.h"
|
| @@ -2098,8 +2099,11 @@ void Node::HandleLocalEvents(Event& event) {
|
| if (!HasEventTargetData())
|
| return;
|
|
|
| - if (IsDisabledFormControl(this) && event.IsMouseEvent())
|
| + if (IsDisabledFormControl(this) && event.IsMouseEvent()) {
|
| + UseCounter::Count(GetDocument(),
|
| + UseCounter::kDispatchMouseEventOnDisabledFormControl);
|
| return;
|
| + }
|
|
|
| FireEventListeners(&event);
|
| }
|
|
|