Index: chrome/renderer/spellchecker/spellcheck.h |
diff --git a/chrome/renderer/spellchecker/spellcheck.h b/chrome/renderer/spellchecker/spellcheck.h |
index 714d4b4bb083a557c2a03a30ad108a9bbeae56dd..c158c7f98093bea75c29c999e8854f5d63afc95d 100644 |
--- a/chrome/renderer/spellchecker/spellcheck.h |
+++ b/chrome/renderer/spellchecker/spellcheck.h |
@@ -94,7 +94,7 @@ class SpellCheck : public content::RenderProcessObserver, |
// Requests to spellcheck the specified text in the background. This function |
// posts a background task and calls SpellCheckParagraph() in the task. |
-#if !defined (OS_MACOSX) |
+#if !defined (USE_BROWSER_SPELLCHECKER) |
void RequestTextChecking(const base::string16& text, |
blink::WebTextCheckingCompletion* completion); |
#endif |
@@ -131,7 +131,7 @@ class SpellCheck : public content::RenderProcessObserver, |
void OnEnableSpellCheck(bool enable); |
void OnRequestDocumentMarkers(); |
-#if !defined (OS_MACOSX) |
+#if !defined (USE_BROWSER_SPELLCHECKER) |
// Posts delayed spellcheck task and clear it if any. |
// Takes ownership of |request|. |
void PostDelayedSpellCheckTask(SpellcheckRequest* request); |