Index: Source/core/html/HTMLElement.cpp |
diff --git a/Source/core/html/HTMLElement.cpp b/Source/core/html/HTMLElement.cpp |
index 6de4687fcb8c1e6364e97e6a1708d1a1607f7ddb..0589a8eb65df11f0146fb180751922ed03348feb 100644 |
--- a/Source/core/html/HTMLElement.cpp |
+++ b/Source/core/html/HTMLElement.cpp |
@@ -584,10 +584,9 @@ void HTMLElement::setSpellcheck(bool enable) |
setAttribute(spellcheckAttr, enable ? "true" : "false"); |
} |
- |
-void HTMLElement::click() |
+void HTMLElement::clickForBindings() |
{ |
- dispatchSimulatedClick(0, SendNoEvents); |
+ dispatchSimulatedClick(0, SendNoEvents, SimulatedClickCreationScope::FromScript); |
} |
void HTMLElement::accessKeyAction(bool sendMouseEvents) |