| 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 52ca9872ba6f6ea500f043b3f90a4409f62a71f8..bbd161bf33e0cc0389cf5a6d32762d8a1fefc3da 100644
|
| --- a/third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| @@ -321,6 +321,10 @@ void InputMethodController::setComposition(const String& text, const Vector<Comp
|
| if (!target)
|
| return;
|
|
|
| + // TODO(xiaochengh): The use of updateStyleAndLayoutIgnorePendingStylesheets
|
| + // needs to be audited. see http://crbug.com/590369 for more details.
|
| + frame().document()->updateStyleAndLayoutIgnorePendingStylesheets();
|
| +
|
| int selectionOffsetsStart = static_cast<int>(getSelectionOffsets().start());
|
| int start = selectionOffsetsStart + selectionStart;
|
| int end = selectionOffsetsStart + selectionEnd;
|
|
|