| 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 66675f5dee8dc6a56de4f99ae1a4e3506d14a1f4..0366fe8aa3de72cd44c0bcc5ee5c14a5faec2b3d 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| @@ -29,6 +29,7 @@
|
| #include "core/editing/FrameSelection.h"
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/html/shadow/ShadowElementNames.h"
|
| +#include "core/input/KeyboardEventManager.h"
|
| #include "core/layout/HitTestResult.h"
|
| #include "core/layout/LayoutAnalyzer.h"
|
| #include "core/layout/LayoutTheme.h"
|
| @@ -36,7 +37,6 @@
|
| #include "core/paint/PaintInfo.h"
|
| #include "core/paint/PaintLayer.h"
|
| #include "core/paint/ThemePainter.h"
|
| -#include "platform/PlatformKeyboardEvent.h"
|
| #include "platform/fonts/SimpleFontData.h"
|
|
|
| namespace blink {
|
| @@ -189,7 +189,7 @@ void LayoutTextControlSingleLine::capsLockStateMayHaveChanged()
|
| bool shouldDrawCapsLockIndicator = false;
|
|
|
| if (LocalFrame* frame = document().frame())
|
| - shouldDrawCapsLockIndicator = inputElement()->type() == InputTypeNames::password && frame->selection().isFocusedAndActive() && document().focusedElement() == node() && PlatformKeyboardEvent::currentCapsLockState();
|
| + shouldDrawCapsLockIndicator = inputElement()->type() == InputTypeNames::password && frame->selection().isFocusedAndActive() && document().focusedElement() == node() && KeyboardEventManager::currentCapsLockState();
|
|
|
| if (shouldDrawCapsLockIndicator != m_shouldDrawCapsLockIndicator) {
|
| m_shouldDrawCapsLockIndicator = shouldDrawCapsLockIndicator;
|
|
|