| Index: Source/core/rendering/RenderTextControlSingleLine.cpp
|
| diff --git a/Source/core/rendering/RenderTextControlSingleLine.cpp b/Source/core/rendering/RenderTextControlSingleLine.cpp
|
| index 45b8d18ce5ffdff14c09169edb5b1b39af12195e..c11367884c9557ec917aaf342df10f6d6b41c0f2 100644
|
| --- a/Source/core/rendering/RenderTextControlSingleLine.cpp
|
| +++ b/Source/core/rendering/RenderTextControlSingleLine.cpp
|
| @@ -191,7 +191,7 @@ void RenderTextControlSingleLine::layout()
|
| if (!placeholderBoxHadLayout && placeholderBox->checkForRepaintDuringLayout()) {
|
| // This assumes a shadow tree without floats. If floats are added, the
|
| // logic should be shared with RenderBlockFlow::layoutBlockChild.
|
| - placeholderBox->repaint();
|
| + placeholderBox->invalidatePaint();
|
| }
|
| // The placeholder gets layout last, after the parent text control and its other children,
|
| // so in order to get the correct overflow from the placeholder we need to recompute it now.
|
| @@ -265,7 +265,7 @@ void RenderTextControlSingleLine::capsLockStateMayHaveChanged()
|
|
|
| if (shouldDrawCapsLockIndicator != m_shouldDrawCapsLockIndicator) {
|
| m_shouldDrawCapsLockIndicator = shouldDrawCapsLockIndicator;
|
| - repaint();
|
| + invalidatePaint();
|
| }
|
| }
|
|
|
|
|