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..c2241267b8bef72a4d07a80203a24516772ecfdc 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()->commitText(blink::WebString::fromUTF8(text), 0); |
} |
void TextInputController::UnmarkText() { |
- view()->confirmComposition(); |
+ view()->finishComposingText(blink::WebWidget::KeepSelection); |
} |
void TextInputController::DoCommand(const std::string& text) { |