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

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: Don't try to add default underline for commitText(), attempt to fix Mac builds Created 4 years 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 c039d254d2bef13c6a7e6c3998a6a8293b7c5b52..3a24c86fc2c6285b46238af2f555506c5886b262 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
@@ -2252,7 +2252,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