| 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 5991147c90829ff2176083ab224bce3e3859276d..d690c9d778c58a3c781ec0415c4bacfc1fc03794 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| @@ -1520,7 +1520,7 @@ bool RenderWidgetHostViewAura::GetTextRange(gfx::Range* range) const {
|
| return false;
|
|
|
| const TextInputManager::TextSelection* selection =
|
| - text_input_manager_->GetTextSelection();
|
| + text_input_manager_->GetTextSelection(GetFocusedWidget()->GetView());
|
| if (!selection)
|
| return false;
|
|
|
| @@ -1541,7 +1541,7 @@ bool RenderWidgetHostViewAura::GetSelectionRange(gfx::Range* range) const {
|
| return false;
|
|
|
| const TextInputManager::TextSelection* selection =
|
| - text_input_manager_->GetTextSelection();
|
| + text_input_manager_->GetTextSelection(GetFocusedWidget()->GetView());
|
| if (!selection)
|
| return false;
|
|
|
| @@ -1569,7 +1569,7 @@ bool RenderWidgetHostViewAura::GetTextFromRange(
|
| return false;
|
|
|
| const TextInputManager::TextSelection* selection =
|
| - text_input_manager_->GetTextSelection();
|
| + text_input_manager_->GetTextSelection(GetFocusedWidget()->GetView());
|
| if (!selection)
|
| return false;
|
|
|
|
|