Index: third_party/WebKit/Source/core/editing/InputMethodController.cpp |
diff --git a/third_party/WebKit/Source/core/editing/InputMethodController.cpp b/third_party/WebKit/Source/core/editing/InputMethodController.cpp |
index 503a93ed491c52ab9e8c34e5ff6bc0f396bb3ab2..b70befe6440a692d856ddb169fc145088ea45c63 100644 |
--- a/third_party/WebKit/Source/core/editing/InputMethodController.cpp |
+++ b/third_party/WebKit/Source/core/editing/InputMethodController.cpp |
@@ -246,7 +246,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 |
- frame().document()->updateLayoutTree(); |
+ frame().document()->updateStyleAndLayoutTree(); |
selectComposition(); |