| Index: chrome/browser/themes/theme_service_factory.cc
|
| diff --git a/chrome/browser/themes/theme_service_factory.cc b/chrome/browser/themes/theme_service_factory.cc
|
| index f957a3fed8fee46c70417821a63305159517890c..4e64e3948b8ab5709a5cb02ce07901108752afde 100644
|
| --- a/chrome/browser/themes/theme_service_factory.cc
|
| +++ b/chrome/browser/themes/theme_service_factory.cc
|
| @@ -45,14 +45,14 @@ ThemeServiceFactory::ThemeServiceFactory()
|
| ThemeServiceFactory::~ThemeServiceFactory() {}
|
|
|
| ProfileKeyedService* ThemeServiceFactory::BuildServiceInstanceFor(
|
| - Profile* profile) const {
|
| + content::BrowserContext* profile) const {
|
| ThemeService* provider = NULL;
|
| #if defined(TOOLKIT_GTK)
|
| provider = new GtkThemeService;
|
| #else
|
| provider = new ThemeService;
|
| #endif
|
| - provider->Init(profile);
|
| + provider->Init(static_cast<Profile*>(profile));
|
|
|
| return provider;
|
| }
|
|
|