| Index: chrome/browser/spellchecker/spellcheck_host_browsertest.cc
|
| diff --git a/chrome/browser/spellchecker/spellcheck_host_browsertest.cc b/chrome/browser/spellchecker/spellcheck_host_browsertest.cc
|
| index 1d61f307e54b28dd129ac81d72061beacc57b4cb..b8496334f997530dc89480fcf8d3b9f13f4d3126 100644
|
| --- a/chrome/browser/spellchecker/spellcheck_host_browsertest.cc
|
| +++ b/chrome/browser/spellchecker/spellcheck_host_browsertest.cc
|
| @@ -5,6 +5,7 @@
|
| #include "base/path_service.h"
|
| #include "base/synchronization/waitable_event.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| +#include "chrome/browser/spellchecker/spellcheck_factory.h"
|
| #include "chrome/browser/spellchecker/spellcheck_host.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/common/chrome_paths.h"
|
| @@ -55,7 +56,7 @@ IN_PROC_BROWSER_TEST_F(SpellCheckHostBrowserTest, DeleteCorruptedBDICT) {
|
|
|
| // Initialize the SpellCheckHost object with the corrupted BDICT file created
|
| // above. The SpellCheckHost object will send a BDICT_CORRUPTED event.
|
| - browser()->profile()->ReinitializeSpellCheckHost(false);
|
| + SpellCheckFactory::ReinitializeSpellCheckHost(browser()->profile(), false);
|
|
|
| // Check the received event. Also we check if Chrome has successfully deleted
|
| // the corrupted dictionary. We delete the corrupted dictionary to avoid
|
|
|