| 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 7e87473bedbb5cf9e3b44f60b71a68eba3d60090..bc07abdf5532092c9254895e197b39bd80720d38 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| @@ -73,7 +73,7 @@ void LayoutTextControlSingleLine::paint(const PaintInfo& paintInfo, const Layout
|
| {
|
| LayoutTextControl::paint(paintInfo, paintOffset);
|
|
|
| - if (paintInfo.phase == PaintPhaseSelfBlockBackground && m_shouldDrawCapsLockIndicator) {
|
| + if (shouldPaintSelfBlockBackground(paintInfo.phase) && m_shouldDrawCapsLockIndicator) {
|
| if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintInfo.context, *this, paintInfo.phase, paintOffset))
|
| return;
|
|
|
|
|