summaryrefslogtreecommitdiffstats
path: root/content/browser/renderer_host/render_widget_host_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/renderer_host/render_widget_host_impl.cc')
-rw-r--r--content/browser/renderer_host/render_widget_host_impl.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index eaabc71..fa74f6f 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -2191,13 +2191,7 @@ void RenderWidgetHostImpl::Replace(const string16& word) {
}
void RenderWidgetHostImpl::ReplaceMisspelling(const string16& word) {
-#if defined(OS_MACOSX)
- // TODO(rouslan): Use ViewMsg_ReplaceMisspelling on Mac after Mac implements
- // asynchronous spell checking and enables unified text checking.
- Send(new ViewMsg_Replace(routing_id_, word));
-#else
Send(new ViewMsg_ReplaceMisspelling(routing_id_, word));
-#endif
}
void RenderWidgetHostImpl::SetIgnoreInputEvents(bool ignore_input_events) {