Index: chrome/browser/spellchecker/spellcheck_message_filter.cc |
diff --git a/chrome/browser/spellchecker/spellcheck_message_filter.cc b/chrome/browser/spellchecker/spellcheck_message_filter.cc |
index d29c5141bdc7e1d304b7a6e8de7e56720dd6187a..5c39888aece4d59c1a996e2f0a3135bce69322e5 100644 |
--- a/chrome/browser/spellchecker/spellcheck_message_filter.cc |
+++ b/chrome/browser/spellchecker/spellcheck_message_filter.cc |
@@ -37,7 +37,7 @@ void SpellCheckMessageFilter::OverrideThreadForMessage( |
message.type() == SpellCheckHostMsg_NotifyChecked::ID || |
message.type() == SpellCheckHostMsg_RespondDocumentMarkers::ID) |
*thread = BrowserThread::UI; |
-#if !defined(OS_MACOSX) |
+#if !defined(USE_PLATFORM_SPELLCHECKER) |
if (message.type() == SpellCheckHostMsg_CallSpellingService::ID) |
*thread = BrowserThread::UI; |
#endif |
@@ -52,7 +52,7 @@ bool SpellCheckMessageFilter::OnMessageReceived(const IPC::Message& message) { |
OnNotifyChecked) |
IPC_MESSAGE_HANDLER(SpellCheckHostMsg_RespondDocumentMarkers, |
OnRespondDocumentMarkers) |
-#if !defined(OS_MACOSX) |
+#if !defined(USE_PLATFORM_SPELLCHECKER) |
IPC_MESSAGE_HANDLER(SpellCheckHostMsg_CallSpellingService, |
OnCallSpellingService) |
#endif |
@@ -106,7 +106,7 @@ void SpellCheckMessageFilter::OnRespondDocumentMarkers( |
render_process_id_, markers); |
} |
-#if !defined(OS_MACOSX) |
+#if !defined(USE_PLATFORM_SPELLCHECKER) |
void SpellCheckMessageFilter::OnCallSpellingService( |
int route_id, |
int identifier, |