Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5149)

Unified Diff: chrome/browser/spellchecker/spellcheck_host_browsertest.cc

Issue 9289007: Profiles: Move the Spelling system onto a ProfileKeyedServiceFactory. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove stray mark Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698