Index: Source/core/rendering/RenderTextControlSingleLine.cpp |
diff --git a/Source/core/rendering/RenderTextControlSingleLine.cpp b/Source/core/rendering/RenderTextControlSingleLine.cpp |
index 45b8d18ce5ffdff14c09169edb5b1b39af12195e..af67bd72b992397a8ac01837551a620969f80339 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->paintInvalidationForWholeRenderer(); |
} |
// 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(); |
+ paintInvalidationForWholeRenderer(); |
} |
} |