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 26e425bccaaec777f383371a9c807a740c03bca1..3c10f51e1456a5bde67c03abf805fff7c5862060 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc |
@@ -1331,10 +1331,12 @@ void RenderWidgetHostViewAura::SetCompositionText( |
for (std::vector<ui::CompositionUnderline>::const_iterator it = |
composition.underlines.begin(); |
it != composition.underlines.end(); ++it) { |
- underlines.push_back(blink::WebCompositionUnderline(it->start_offset, |
- it->end_offset, |
- it->color, |
- it->thick)); |
+ underlines.push_back( |
+ blink::WebCompositionUnderline(static_cast<unsigned>(it->start_offset), |
+ static_cast<unsigned>(it->end_offset), |
+ it->color, |
+ it->thick, |
+ it->background_color)); |
} |
// TODO(suzhe): due to a bug of webkit, we can't use selection range with |