| 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 3a9e4b9e724b49e4746a888386e6d0df689d31ed..d0ba8eb5fe58efeb356e6264431f777b5c6c8f40 100644
|
| --- a/chrome/browser/themes/theme_service_factory.cc
|
| +++ b/chrome/browser/themes/theme_service_factory.cc
|
| @@ -21,6 +21,7 @@ ThemeService* ThemeServiceFactory::GetForProfile(Profile* profile) {
|
| GetInstance()->GetServiceForProfile(profile));
|
| }
|
|
|
| +// static
|
| const Extension* ThemeServiceFactory::GetThemeForProfile(Profile* profile) {
|
| std::string id = GetForProfile(profile)->GetThemeID();
|
| if (id == ThemeService::kDefaultThemeID)
|
| @@ -29,11 +30,7 @@ const Extension* ThemeServiceFactory::GetThemeForProfile(Profile* profile) {
|
| return profile->GetExtensionService()->GetExtensionById(id, false);
|
| }
|
|
|
| -void ThemeServiceFactory::ForceAssociationBetween(Profile* profile,
|
| - ThemeService* provider) {
|
| - GetInstance()->Associate(profile, provider);
|
| -}
|
| -
|
| +// static
|
| ThemeServiceFactory* ThemeServiceFactory::GetInstance() {
|
| return Singleton<ThemeServiceFactory>::get();
|
| }
|
|
|