Index: Source/core/editing/InputMethodController.cpp |
diff --git a/Source/core/editing/InputMethodController.cpp b/Source/core/editing/InputMethodController.cpp |
index dc13e5d4dec5d7c8fd84da9d52513295e932469b..7a6eaf1f8bf90dab573267cf60f96b8b4e4f82ad 100644 |
--- a/Source/core/editing/InputMethodController.cpp |
+++ b/Source/core/editing/InputMethodController.cpp |
@@ -305,7 +305,7 @@ void InputMethodController::setComposition(const String& text, const Vector<Comp |
m_customCompositionUnderlines[i].endOffset += baseOffset; |
} |
if (baseNode->renderer()) |
- baseNode->renderer()->repaint(); |
+ baseNode->renderer()->paintInvalidationForWholeRenderer(); |
unsigned start = std::min(baseOffset + selectionStart, extentOffset); |
unsigned end = std::min(std::max(start, baseOffset + selectionEnd), extentOffset); |
@@ -339,7 +339,7 @@ void InputMethodController::setCompositionFromExistingText(const Vector<Composit |
m_customCompositionUnderlines[i].endOffset += compositionStart; |
} |
if (baseNode->renderer()) |
- baseNode->renderer()->repaint(); |
+ baseNode->renderer()->paintInvalidationForWholeRenderer(); |
return; |
} |