Index: chrome/browser/speech/chrome_speech_recognition_preferences.cc |
diff --git a/chrome/browser/speech/chrome_speech_recognition_preferences.cc b/chrome/browser/speech/chrome_speech_recognition_preferences.cc |
index 839fb23d942b52b936445e1fd9c4fb5008c60c56..3b3fcc70bbaf556ee2e569e021e91a5f148280fa 100644 |
--- a/chrome/browser/speech/chrome_speech_recognition_preferences.cc |
+++ b/chrome/browser/speech/chrome_speech_recognition_preferences.cc |
@@ -60,9 +60,10 @@ ChromeSpeechRecognitionPreferences::Factory::~Factory() { |
ProfileKeyedService* |
ChromeSpeechRecognitionPreferences::Factory::BuildServiceInstanceFor( |
- Profile* profile) const { |
+ content::BrowserContext* profile) const { |
DCHECK(profile); |
- return new ChromeSpeechRecognitionPreferences::Service(profile); |
+ return new ChromeSpeechRecognitionPreferences::Service( |
+ static_cast<Profile*>(profile)); |
} |
void ChromeSpeechRecognitionPreferences::Factory::RegisterUserPrefs( |