| Index: third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
|
| index bd8fb03429bd9e854c815c614e4080cebc93c3e0..ca3dcf73b1f7ed8903e5f726a8ba8993f8bff51b 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
|
| @@ -179,7 +179,7 @@ void HTMLFormControlElement::disabledAttributeChanged()
|
| pseudoStateChanged(CSSSelector::PseudoEnabled);
|
| if (layoutObject())
|
| LayoutTheme::theme().controlStateChanged(*layoutObject(), EnabledControlState);
|
| - if (isDisabledFormControl() && treeScope().adjustedFocusedElement() == this) {
|
| + if (isDisabledFormControl() && adjustedFocusedElementInTreeScope() == this) {
|
| // We might want to call blur(), but it's dangerous to dispatch events
|
| // here.
|
| document().setNeedsFocusedElementCheck();
|
|
|