| Index: Source/core/html/HTMLInputElement.cpp
|
| diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
|
| index 5afcb218a6af313fca1a3ac1b048ca26c9e4ed91..bf34fe32cf439241f72bed453e979982e96573ab 100644
|
| --- a/Source/core/html/HTMLInputElement.cpp
|
| +++ b/Source/core/html/HTMLInputElement.cpp
|
| @@ -839,7 +839,6 @@ void HTMLInputElement::setChecked(bool nowChecked, TextFieldEventBehavior eventB
|
| RefPtrWillBeRawPtr<HTMLInputElement> protector(this);
|
| m_reflectsCheckedAttribute = false;
|
| m_isChecked = nowChecked;
|
| - setNeedsStyleRecalc(SubtreeStyleChange);
|
|
|
| if (RadioButtonGroupScope* scope = radioButtonGroupScope())
|
| scope->updateCheckedState(this);
|
| @@ -868,7 +867,7 @@ void HTMLInputElement::setChecked(bool nowChecked, TextFieldEventBehavior eventB
|
| dispatchFormControlChangeEvent();
|
| }
|
|
|
| - didAffectSelector(AffectedSelectorChecked);
|
| + pseudoStateChanged(CSSSelector::PseudoChecked);
|
| }
|
|
|
| void HTMLInputElement::setIndeterminate(bool newValue)
|
| @@ -878,7 +877,7 @@ void HTMLInputElement::setIndeterminate(bool newValue)
|
|
|
| m_isIndeterminate = newValue;
|
|
|
| - didAffectSelector(AffectedSelectorIndeterminate);
|
| + pseudoStateChanged(CSSSelector::PseudoIndeterminate);
|
|
|
| if (renderer() && renderer()->style()->hasAppearance())
|
| RenderTheme::theme().stateChanged(renderer(), CheckedControlState);
|
|
|