Index: chrome/renderer/spellchecker/spellcheck_provider_test.cc |
diff --git a/chrome/renderer/spellchecker/spellcheck_provider_test.cc b/chrome/renderer/spellchecker/spellcheck_provider_test.cc |
index d28cd886abc180e8b9aa9f2c3216af52e258f68a..9cbba2c29f35964b657c118637beddf39a5dd6a6 100644 |
--- a/chrome/renderer/spellchecker/spellcheck_provider_test.cc |
+++ b/chrome/renderer/spellchecker/spellcheck_provider_test.cc |
@@ -40,7 +40,7 @@ TestingSpellCheckProvider::~TestingSpellCheckProvider() { |
} |
bool TestingSpellCheckProvider::Send(IPC::Message* message) { |
-#if !defined(OS_MACOSX) |
+#if !defined(USE_PLATFORM_SPELLCHECKER) |
// Call our mock message handlers. |
bool handled = true; |
IPC_BEGIN_MESSAGE_MAP(TestingSpellCheckProvider, *message) |
@@ -63,7 +63,7 @@ void TestingSpellCheckProvider::OnCallSpellingService(int route_id, |
int identifier, |
const base::string16& text, |
const std::vector<SpellCheckMarker>& markers) { |
-#if defined (OS_MACOSX) |
+#if defined (USE_PLATFORM_SPELLCHECKER) |
NOTREACHED(); |
#else |
++spelling_service_call_count_; |