Index: Source/core/editing/InputMethodController.cpp |
diff --git a/Source/core/editing/InputMethodController.cpp b/Source/core/editing/InputMethodController.cpp |
index b0ce7d295bf4c82954922370acb356ac870e0a2c..ca3024ac17a936d595b14c2dd99831e528b9dc06 100644 |
--- a/Source/core/editing/InputMethodController.cpp |
+++ b/Source/core/editing/InputMethodController.cpp |
@@ -231,7 +231,7 @@ void InputMethodController::setComposition(const String& text, const Vector<Comp |
// Updates styles before setting selection for composition to prevent |
// inserting the previous composition text into text nodes oddly. |
// See https://bugs.webkit.org/show_bug.cgi?id=46868 |
- m_frame.document()->updateStyleIfNeeded(); |
+ m_frame.document()->updateRenderTreeIfNeeded(); |
selectComposition(); |