Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index bbb533c7d0e99502406ac8fad1db8e970a49f004..54e59de423ca3e3298a7c2fa40f772112b07bc2d 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -475,10 +475,8 @@ bool RenderWidgetHostImpl::OnMessageReceived(const IPC::Message &msg) { |
IPC_MESSAGE_HANDLER(ViewHostMsg_WindowlessPluginDummyWindowDestroyed, |
OnWindowlessPluginDummyWindowDestroyed) |
#endif |
-#if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID) |
IPC_MESSAGE_HANDLER(InputHostMsg_ImeCompositionRangeChanged, |
OnImeCompositionRangeChanged) |
-#endif |
IPC_MESSAGE_UNHANDLED(handled = false) |
IPC_END_MESSAGE_MAP() |
@@ -1627,14 +1625,12 @@ void RenderWidgetHostImpl::OnTextInputTypeChanged( |
view_->TextInputTypeChanged(type, input_mode, can_compose_inline, flags); |
} |
-#if defined(OS_MACOSX) || defined(USE_AURA) || defined(OS_ANDROID) |
void RenderWidgetHostImpl::OnImeCompositionRangeChanged( |
const gfx::Range& range, |
const std::vector<gfx::Rect>& character_bounds) { |
if (view_) |
view_->ImeCompositionRangeChanged(range, character_bounds); |
} |
-#endif |
void RenderWidgetHostImpl::OnImeCancelComposition() { |
if (view_) |