| 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 ea737b43fd64afcb62d0f6d636a67b3b3d83805c..9fca6f1c2e8cf4a066113165ada16825fbe77cb9 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| @@ -2108,13 +2108,13 @@ void RenderWidgetHostViewAura::SetCompositionText(
|
|
|
| // TODO(suzhe): convert both renderer_host and renderer to use
|
| // ui::CompositionText.
|
| - const std::vector<WebKit::WebCompositionUnderline>& underlines =
|
| - reinterpret_cast<const std::vector<WebKit::WebCompositionUnderline>&>(
|
| - composition.underlines);
|
| + const std::vector<WebKit::WebCompositionUnderline>* underlines =
|
| + bit_cast<const std::vector<WebKit::WebCompositionUnderline>*>(
|
| + &composition.underlines);
|
|
|
| // TODO(suzhe): due to a bug of webkit, we can't use selection range with
|
| // composition string. See: https://bugs.webkit.org/show_bug.cgi?id=37788
|
| - host_->ImeSetComposition(composition.text, underlines,
|
| + host_->ImeSetComposition(composition.text, *underlines,
|
| composition.selection.end(),
|
| composition.selection.end());
|
|
|
|
|