| Index: Source/WebKit/chromium/src/WebViewImpl.cpp
|
| ===================================================================
|
| --- Source/WebKit/chromium/src/WebViewImpl.cpp (revision 142009)
|
| +++ Source/WebKit/chromium/src/WebViewImpl.cpp (working copy)
|
| @@ -2430,6 +2430,8 @@
|
| String text = editor->selectedText();
|
| focused->document()->execCommand("delete", true);
|
| editor->setComposition(text, CompositionUnderlineVectorBuilder(underlines), 0, 0);
|
| + // Need to set setIgnoreCompositionSelectionChange(true) again because setComposition resets it to false.
|
| + editor->setIgnoreCompositionSelectionChange(true);
|
| editor->setSelectionOffsets(location, location + length);
|
| editor->setIgnoreCompositionSelectionChange(false);
|
|
|
|
|