Index: chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc |
diff --git a/chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc b/chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc |
index 432f43bfe0fc0ac591ca4ecfa7030c67efca5c2b..bd1f49e2cdb97fa459ce1df5629c6e4d246df54c 100644 |
--- a/chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc |
+++ b/chrome/browser/spellchecker/spellcheck_message_filter_unittest.cc |
@@ -28,7 +28,7 @@ class TestingSpellCheckMessageFilter : public SpellCheckMessageFilter { |
return spellcheck_.get(); |
} |
-#if !defined(OS_MACOSX) |
+#if !defined(USE_PLATFORM_SPELLCHECKER) |
void OnTextCheckComplete(int route_id, |
int identifier, |
const std::vector<SpellCheckMarker>& markers, |
@@ -57,7 +57,7 @@ TEST(SpellCheckMessageFilterTest, TestOverrideThread) { |
SpellCheckHostMsg_RequestDictionary::ID, |
SpellCheckHostMsg_NotifyChecked::ID, |
SpellCheckHostMsg_RespondDocumentMarkers::ID, |
-#if !defined(OS_MACOSX) |
+#if !defined(USE_PLATFORM_SPELLCHECKER) |
SpellCheckHostMsg_CallSpellingService::ID, |
#endif |
}; |
@@ -74,7 +74,7 @@ TEST(SpellCheckMessageFilterTest, TestOverrideThread) { |
} |
} |
-#if !defined(OS_MACOSX) |
+#if !defined(USE_PLATFORM_SPELLCHECKER) |
TEST(SpellCheckMessageFilterTest, OnTextCheckCompleteTestCustomDictionary) { |
static const std::string kCustomWord = "Helllo"; |
static const int kRouteId = 0; |