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

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

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 2 Created 7 years, 8 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_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 {
« no previous file with comments | « chrome/browser/speech/tts_extension_loader_chromeos.cc ('k') | chrome/browser/spellchecker/spellcheck_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698