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

Unified Diff: chrome/browser/spellchecker/spellcheck_service_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_service_unittest.cc
diff --git a/chrome/browser/spellchecker/spellcheck_service_unittest.cc b/chrome/browser/spellchecker/spellcheck_service_unittest.cc
index 603d023c2dfd084e22bf80b3df57e9493ac26aff..b03bbb65d983ec93140557ece73750271f87b1d9 100644
--- a/chrome/browser/spellchecker/spellcheck_service_unittest.cc
+++ b/chrome/browser/spellchecker/spellcheck_service_unittest.cc
@@ -18,8 +18,9 @@
using content::BrowserThread;
using chrome::spellcheck_common::WordList;
-static ProfileKeyedService* BuildSpellcheckService(Profile* profile) {
- return new SpellcheckService(profile);
+static ProfileKeyedService* BuildSpellcheckService(
+ content::BrowserContext* profile) {
+ return new SpellcheckService(static_cast<Profile*>(profile));
}
class SpellcheckServiceTest : public testing::Test {
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_factory.cc ('k') | chrome/browser/sync/abstract_profile_sync_service_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698