diff options
Diffstat (limited to 'chrome/browser/chrome_content_browser_client.cc')
-rw-r--r-- | chrome/browser/chrome_content_browser_client.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc index dedcc70..993babd 100644 --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc @@ -76,7 +76,6 @@ #include "chrome/browser/search_engines/search_provider_install_state_message_filter.h" #include "chrome/browser/speech/chrome_speech_recognition_manager_delegate.h" #include "chrome/browser/speech/tts_message_filter.h" -#include "chrome/browser/spellchecker/spellcheck_message_filter.h" #include "chrome/browser/ssl/ssl_add_certificate.h" #include "chrome/browser/ssl/ssl_blocking_page.h" #include "chrome/browser/ssl/ssl_tab_helper.h" @@ -228,6 +227,10 @@ #include "chrome/browser/chrome_browser_main_extra_parts_x11.h" #endif +#if defined(ENABLE_SPELLCHECK) +#include "chrome/browser/spellchecker/spellcheck_message_filter.h" +#endif + using WebKit::WebWindowFeatures; using base::FileDescriptor; using content::AccessTokenStore; @@ -887,7 +890,9 @@ void ChromeContentBrowserClient::RenderProcessHostCreated( #endif host->GetChannel()->AddFilter( new SearchProviderInstallStateMessageFilter(id, profile)); +#if defined(ENABLE_SPELLCHECK) host->GetChannel()->AddFilter(new SpellCheckMessageFilter(id)); +#endif #if defined(OS_MACOSX) host->GetChannel()->AddFilter(new SpellCheckMessageFilterMac(id)); #endif |