Index: Source/core/html/forms/CheckboxInputType.cpp |
diff --git a/Source/core/html/forms/CheckboxInputType.cpp b/Source/core/html/forms/CheckboxInputType.cpp |
index b6a4d57a2aef6acda04cac81be90aadcb364c730..2be0d9608d086caf5c0fbfb318c8b87ee08f9411 100644 |
--- a/Source/core/html/forms/CheckboxInputType.cpp |
+++ b/Source/core/html/forms/CheckboxInputType.cpp |
@@ -82,7 +82,7 @@ PassOwnPtrWillBeRawPtr<ClickHandlingState> CheckboxInputType::willDispatchClick( |
element().setIndeterminate(false); |
element().setChecked(!state->checked, DispatchChangeEvent); |
- |
+ m_isInClickHandler = true; |
return state.release(); |
} |
@@ -94,7 +94,7 @@ void CheckboxInputType::didDispatchClick(Event* event, const ClickHandlingState& |
} else { |
element().dispatchChangeEventIfNeeded(); |
} |
- |
+ m_isInClickHandler = false; |
// The work we did in willDispatchClick was default handling. |
event->setDefaultHandled(); |
} |