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 8d534cad86a1cda348f842cd000b2ef448cb470b..d70c2af2f4ebba72d4c0640b9872514d14655194 100644 |
--- a/third_party/WebKit/Source/core/dom/Node.cpp |
+++ b/third_party/WebKit/Source/core/dom/Node.cpp |
@@ -2099,7 +2099,8 @@ void Node::HandleLocalEvents(Event& event) { |
if (!HasEventTargetData()) |
return; |
- if (IsDisabledFormControl(this) && event.IsMouseEvent()) { |
+ if (IsDisabledFormControl(this) && event.IsMouseEvent() && |
+ !RuntimeEnabledFeatures::sendMouseEventsDisabledFormControlsEnabled()) { |
UseCounter::Count(GetDocument(), |
UseCounter::kDispatchMouseEventOnDisabledFormControl); |
return; |