Index: Source/core/html/HTMLFormElement.cpp |
diff --git a/Source/core/html/HTMLFormElement.cpp b/Source/core/html/HTMLFormElement.cpp |
index 7e5a7859d87924d3238f3ac9ad3b22a6f35a131a..2664f33712e00bb2e30a77dc27781de50b14bd0d 100644 |
--- a/Source/core/html/HTMLFormElement.cpp |
+++ b/Source/core/html/HTMLFormElement.cpp |
@@ -202,10 +202,8 @@ void HTMLFormElement::submitImplicitly(Event* event, bool fromImplicitSubmission |
if (fromImplicitSubmissionTrigger) |
seenDefaultButton = true; |
if (control->isSuccessfulSubmitButton()) { |
- if (control->renderer()) { |
- control->dispatchSimulatedClick(event); |
- return; |
- } |
+ control->dispatchSimulatedClick(event); |
+ return; |
} else if (fromImplicitSubmissionTrigger) { |
// Default (submit) button is not activated; no implicit submission. |
return; |