Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: components/test_runner/text_input_controller.cc

Issue 2568093003: Support parsing BackgroundSpans and UnderlineSpans in Android IME's commitText() (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 5a94e7845ebb44d993efaf1221bb448efae3e672..05de1c83a2300f44f67dde98ab9cfe81b2cf260c 100644
--- a/components/test_runner/text_input_controller.cc
+++ b/components/test_runner/text_input_controller.cc
@@ -171,7 +171,8 @@ void TextInputController::Install(blink::WebLocalFrame* frame) {
void TextInputController::InsertText(const std::string& text) {
if (auto* controller = GetInputMethodController()) {
- controller->commitText(blink::WebString::fromUTF8(text), 0);
+ controller->commitText(blink::WebString::fromUTF8(text),
+ std::vector<blink::WebCompositionUnderline>(), 0);
}
}

Powered by Google App Engine
This is Rietveld 408576698