| Index: content/browser/renderer_host/render_widget_host_view_base.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_base.cc b/content/browser/renderer_host/render_widget_host_view_base.cc
|
| index 3a295ca6aa47379ed112895855bc6b1368c0d8de..d9b9f8ab50f5fc088305a98e477b51fb215a2c69 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_base.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_base.cc
|
| @@ -117,7 +117,7 @@ void RenderWidgetHostViewBase::SelectionChanged(const base::string16& text,
|
| // TODO(ekaramad): Use TextInputManager code paths for IME on other platforms.
|
| // Also, remove the following local variables when that happens
|
| // (https://crbug.com/578168 and https://crbug.com/602427).
|
| -#if defined(USE_AURA)
|
| +#if !defined(OS_ANDROID)
|
| if (GetTextInputManager())
|
| GetTextInputManager()->SelectionChanged(this, text, offset, range);
|
| #else
|
| @@ -150,7 +150,7 @@ base::string16 RenderWidgetHostViewBase::GetSelectedText() {
|
| // TODO(ekaramad): Use TextInputManager code paths for IME on other platforms.
|
| // Also, remove the following local variables when that happens
|
| // (https://crbug.com/578168 and https://crbug.com/602427).
|
| -#if defined(USE_AURA)
|
| +#if !defined(OS_ANDROID)
|
| if (!GetTextInputManager())
|
| return base::string16();
|
|
|
|
|