DescriptionRefactoring: Removing variable m_shouldSubmit from HTMLFormElement.cpp
Variable "m_shouldSubmit" is only set to true if the condition dispatchEvent(Event::createCancelableBubble(EventTypeNames::submit))
returns true in api prepareForSubmission. And on becoming true it just submit the form.
Rest everywhere m_shouldSubmit is false. So this patch removes the variable m_shouldSubmit completely and
change the return type of HTMLFormElement::prepareForSubmission from bool to void.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171008
Patch Set 1 #Patch Set 2 : Changing return type of HTMLFormElement::prepareForSubmission from bool to void #
Messages
Total messages: 8 (0 generated)
|