Index: chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc |
diff --git a/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc b/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc |
index 02a7655538a5f84b9d714a1ea8c91dc04f44a4eb..b9b9ce49cb748bec664e807366f8b313c09be97f 100644 |
--- a/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc |
+++ b/chrome/browser/spellchecker/spellcheck_custom_dictionary_unittest.cc |
@@ -53,8 +53,9 @@ syncer::SyncDataList GetAllSyncDataNoLimit( |
} // namespace |
-static ProfileKeyedService* BuildSpellcheckService(Profile* profile) { |
- return new SpellcheckService(profile); |
+static ProfileKeyedService* BuildSpellcheckService( |
+ content::BrowserContext* profile) { |
+ return new SpellcheckService(static_cast<Profile*>(profile)); |
} |
class SpellcheckCustomDictionaryTest : public testing::Test { |