| Index: chrome/browser/extensions/extension_service.cc
|
| diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
|
| index 83e1a881fedeb66068649a09d60a756e5bce9af9..2ac4a028511c33cae40d2723b6df4f6392e1914d 100644
|
| --- a/chrome/browser/extensions/extension_service.cc
|
| +++ b/chrome/browser/extensions/extension_service.cc
|
| @@ -2550,20 +2550,6 @@ void ExtensionService::FinishInstallation(const Extension* extension) {
|
|
|
| AddExtension(extension);
|
|
|
| -#if defined(ENABLE_THEMES)
|
| - // We do this here since AddExtension() is always called on browser
|
| - // startup, and we only really care about the last theme installed.
|
| - // If that ever changes and we have to move this code somewhere
|
| - // else, it should be somewhere that's not in the startup path.
|
| - if (extension->is_theme() && extensions_.GetByID(extension->id())) {
|
| - DCHECK_EQ(extensions_.GetByID(extension->id()), extension);
|
| - // Now that the theme extension is visible from outside the
|
| - // ExtensionService, notify the ThemeService about the
|
| - // newly-installed theme.
|
| - ThemeServiceFactory::GetForProfile(profile_)->SetTheme(extension);
|
| - }
|
| -#endif
|
| -
|
| // If this is a new external extension that was disabled, alert the user
|
| // so he can reenable it. We do this last so that it has already been
|
| // added to our list of extensions.
|
|
|