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 |