| Index: third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| index ed734bc7a90b1bf542004ca2e892ca85636bc33d..a21840d98e8ed4a7c2924371bb4d999bd0fdc1a8 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| @@ -218,7 +218,7 @@ void LayoutTextControlSingleLine::CapsLockStateMayHaveChanged() {
|
| if (LocalFrame* frame = GetDocument().GetFrame())
|
| should_draw_caps_lock_indicator =
|
| InputElement()->type() == InputTypeNames::password &&
|
| - frame->Selection().IsFocusedAndActive() &&
|
| + frame->Selection().FrameIsFocusedAndActive() &&
|
| GetDocument().FocusedElement() == GetNode() &&
|
| KeyboardEventManager::CurrentCapsLockState();
|
|
|
|
|