Index: content/browser/renderer_host/text_input_manager.cc |
diff --git a/content/browser/renderer_host/text_input_manager.cc b/content/browser/renderer_host/text_input_manager.cc |
index eed20121103d96cdaaec68cdcafea5ecacc241a6..515a4233d53768138147a071be10de2ece7ce48c 100644 |
--- a/content/browser/renderer_host/text_input_manager.cc |
+++ b/content/browser/renderer_host/text_input_manager.cc |
@@ -19,6 +19,9 @@ bool AreDifferentTextInputStates(const content::TextInputState& old_state, |
return old_state.type != new_state.type || old_state.mode != new_state.mode || |
old_state.flags != new_state.flags || |
old_state.can_compose_inline != new_state.can_compose_inline; |
+#elif defined(OS_MACOSX) |
+ return old_state.type != new_state.type || |
+ old_state.can_compose_inline != new_state.can_compose_inline; |
#else |
// TODO(ekaramad): Implement the logic for other platforms (crbug.com/578168). |
NOTREACHED(); |
@@ -233,4 +236,4 @@ TextInputManager::CompositionRangeInfo::CompositionRangeInfo( |
TextInputManager::CompositionRangeInfo::~CompositionRangeInfo() {} |
-} // namespace content |
+} // namespace content |