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

Unified Diff: content/renderer/pepper/pepper_plugin_instance_impl.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: content/renderer/pepper/pepper_plugin_instance_impl.cc
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc
index fabc117a510553874af56b5fdb9898bf058d1f7c..45389dd5b56c53a1da3f6145be834be4e4532c4d 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
@@ -2260,7 +2260,8 @@ bool PepperPluginInstanceImpl::SimulateIMEEvent(
if (!render_frame_)
return false;
render_frame_->SimulateImeCommitText(
- base::UTF8ToUTF16(input_event.character_text), gfx::Range());
+ base::UTF8ToUTF16(input_event.character_text),
+ std::vector<blink::WebCompositionUnderline>(), gfx::Range());
break;
default:
return false;

Powered by Google App Engine
This is Rietveld 408576698