| Index: Source/core/html/HTMLFormControlElement.cpp
|
| diff --git a/Source/core/html/HTMLFormControlElement.cpp b/Source/core/html/HTMLFormControlElement.cpp
|
| index 82ee82df0f73f7b0f824a62289f1a2a25b47b742..fc2775c17994e6ad2cda79c7ac5eb99e8209c23e 100644
|
| --- a/Source/core/html/HTMLFormControlElement.cpp
|
| +++ b/Source/core/html/HTMLFormControlElement.cpp
|
| @@ -159,7 +159,7 @@ void HTMLFormControlElement::disabledAttributeChanged()
|
| didAffectSelector(AffectedSelectorDisabled | AffectedSelectorEnabled);
|
| if (renderer() && renderer()->style()->hasAppearance())
|
| RenderTheme::theme().stateChanged(renderer(), EnabledState);
|
| - if (isDisabledFormControl() && treeScope().adjustedFocusedElement() == this) {
|
| + if (isDisabledFormControl() && treeScope()->adjustedFocusedElement() == this) {
|
| // We might want to call blur(), but it's dangerous to dispatch events
|
| // here.
|
| document().setNeedsFocusedElementCheck();
|
|
|