Index: chrome/browser/speech/tts_extension_loader_chromeos.cc |
diff --git a/chrome/browser/speech/tts_extension_loader_chromeos.cc b/chrome/browser/speech/tts_extension_loader_chromeos.cc |
index 2195a72d51b78f7c197eccee65111770c56711fa..6f7e3ae67d4bbdb825101008e6be0b025c506d63 100644 |
--- a/chrome/browser/speech/tts_extension_loader_chromeos.cc |
+++ b/chrome/browser/speech/tts_extension_loader_chromeos.cc |
@@ -47,9 +47,9 @@ class TtsExtensionLoaderChromeOsFactory : public ProfileKeyedServiceFactory { |
return true; |
} |
- virtual ProfileKeyedService* BuildServiceInstanceFor(Profile* profile) const |
- OVERRIDE { |
- return new TtsExtensionLoaderChromeOs(profile); |
+ virtual ProfileKeyedService* BuildServiceInstanceFor( |
+ content::BrowserContext* profile) const OVERRIDE { |
+ return new TtsExtensionLoaderChromeOs(static_cast<Profile*>(profile)); |
} |
}; |