Chromium Code Reviews| Index: components/test_runner/text_input_controller.cc |
| diff --git a/components/test_runner/text_input_controller.cc b/components/test_runner/text_input_controller.cc |
| index cd0aa73b8f394b3e6d7c1649e954ae49c103fd5f..cdbba94774155dfc4a90a281622442569da57959 100644 |
| --- a/components/test_runner/text_input_controller.cc |
| +++ b/components/test_runner/text_input_controller.cc |
| @@ -160,11 +160,11 @@ void TextInputController::Install(blink::WebLocalFrame* frame) { |
| } |
| void TextInputController::InsertText(const std::string& text) { |
| - view()->confirmComposition(blink::WebString::fromUTF8(text)); |
| + view()->confirmComposition(blink::WebString::fromUTF8(text), 1); |
| } |
| void TextInputController::UnmarkText() { |
| - view()->confirmComposition(); |
| + view()->confirmComposition(1); |
|
Changwan Ryu
2016/08/03 07:37:29
you don't need to pass newCursorPosition when text
yabinh
2016/08/08 07:33:43
Done.
|
| } |
| void TextInputController::DoCommand(const std::string& text) { |