| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 2c2bd18cc28940c3ec945dd1eaae7f5fe842742c..a30bd77c3d18b01e573f134e3dc79f114151e6b6 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -358,7 +358,7 @@
|
| #endif
|
|
|
| #if BUILDFLAG(ENABLE_SPELLCHECK)
|
| -#include "chrome/browser/spellchecker/spellcheck_message_filter.h"
|
| +#include "chrome/browser/spellchecker/spellcheck_host_impl.h"
|
| #endif
|
|
|
| #if BUILDFLAG(USE_BROWSER_SPELLCHECKER)
|
| @@ -1200,9 +1200,6 @@ void ChromeContentBrowserClient::RenderProcessWillLaunch(
|
| #if BUILDFLAG(ENABLE_PRINTING)
|
| host->AddFilter(new printing::PrintingMessageFilter(id, profile));
|
| #endif
|
| -#if BUILDFLAG(ENABLE_SPELLCHECK)
|
| - host->AddFilter(new SpellCheckMessageFilter(id));
|
| -#endif
|
| #if BUILDFLAG(USE_BROWSER_SPELLCHECKER)
|
| host->AddFilter(new SpellCheckMessageFilterPlatform(id));
|
| #endif
|
| @@ -3094,6 +3091,11 @@ void ChromeContentBrowserClient::ExposeInterfacesToRenderer(
|
| registry->AddInterface(
|
| base::Bind(&BudgetServiceImpl::Create, render_process_host->GetID()),
|
| ui_task_runner);
|
| +#if BUILDFLAG(ENABLE_SPELLCHECK)
|
| + registry->AddInterface(
|
| + base::Bind(&SpellCheckHostImpl::Create, render_process_host->GetID()),
|
| + ui_task_runner);
|
| +#endif
|
| registry->AddInterface(
|
| base::Bind(&rappor::RapporRecorderImpl::Create,
|
| g_browser_process->rappor_service()),
|
|
|