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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 2611813002: Add support for persisting CompositionUnderlines in InputMethodController (Closed)
Patch Set: Try one more time Created 3 years, 12 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/browser/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 244f402102e13694f56c17e9f0ad4aae765bde12..a68edd96a1899f18f82c291a4561962bcd542060 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -1162,12 +1162,10 @@ void RenderWidgetHostViewAura::SetCompositionText(
for (std::vector<ui::CompositionUnderline>::const_iterator it =
composition.underlines.begin();
it != composition.underlines.end(); ++it) {
- underlines.push_back(
- blink::WebCompositionUnderline(static_cast<unsigned>(it->start_offset),
- static_cast<unsigned>(it->end_offset),
- it->color,
- it->thick,
- it->background_color));
+ underlines.push_back(blink::WebCompositionUnderline(
+ static_cast<unsigned>(it->start_offset),
+ static_cast<unsigned>(it->end_offset), it->color, it->thick,
+ it->background_color, false));
}
// TODO(suzhe): due to a bug of webkit, we can't use selection range with

Powered by Google App Engine
This is Rietveld 408576698