| 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 678f519a67a4fd12154592f58bea15e016b24e96..b5efbca882c000ca400e1dbbcab0da6c65a95299 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| @@ -1490,11 +1490,12 @@ bool RenderWidgetHostViewAura::GetCompositionCharacterBounds(
|
| if (!text_input_manager_ || !text_input_manager_->GetActiveWidget())
|
| return false;
|
|
|
| - const std::vector<gfx::Rect>* composition_character_bounds =
|
| - text_input_manager_->GetCompositionCharacterBounds();
|
| - if (index >= composition_character_bounds->size())
|
| + const TextInputManager::CompositionRangeInfo* composition_range_info =
|
| + text_input_manager_->GetCompositionRangeInfo();
|
| +
|
| + if (index >= composition_range_info->character_bounds.size())
|
| return false;
|
| - *rect = ConvertRectToScreen(composition_character_bounds->at(index));
|
| + *rect = ConvertRectToScreen(composition_range_info->character_bounds[index]);
|
| return true;
|
| }
|
|
|
|
|