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

Unified Diff: chrome/browser/predictors/predictor_database_factory.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/predictors/predictor_database_factory.cc
diff --git a/chrome/browser/predictors/predictor_database_factory.cc b/chrome/browser/predictors/predictor_database_factory.cc
index 55eafbdeb8649af6b793c282e3ad18e0cb8f6489..e8128a3157878c2a6d215e6ec68cdebc304fabbe 100644
--- a/chrome/browser/predictors/predictor_database_factory.cc
+++ b/chrome/browser/predictors/predictor_database_factory.cc
@@ -31,8 +31,8 @@ PredictorDatabaseFactory::~PredictorDatabaseFactory() {
}
ProfileKeyedService* PredictorDatabaseFactory::BuildServiceInstanceFor(
- Profile* profile) const {
- return new PredictorDatabase(profile);
+ content::BrowserContext* profile) const {
+ return new PredictorDatabase(static_cast<Profile*>(profile));
}
} // namespace predictors

Powered by Google App Engine
This is Rietveld 408576698