| Index: chrome/browser/ui/browser.cc | 
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc | 
| index a229eca1c39ebbee064a3b4e2c98592b3c3a1a03..24866e48bd0224b3f3d801541551be90fb2251b7 100644 | 
| --- a/chrome/browser/ui/browser.cc | 
| +++ b/chrome/browser/ui/browser.cc | 
| @@ -370,10 +370,12 @@ Browser::Browser(Type type, Profile* profile) | 
| content::Source<Profile>(profile_->GetOriginalProfile())); | 
| registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_PROCESS_TERMINATED, | 
| content::NotificationService::AllSources()); | 
| +#if defined(ENABLE_THEMES) | 
| registrar_.Add( | 
| this, chrome::NOTIFICATION_BROWSER_THEME_CHANGED, | 
| content::Source<ThemeService>( | 
| ThemeServiceFactory::GetForProfile(profile_))); | 
| +#endif | 
| registrar_.Add(this, chrome::NOTIFICATION_WEB_CONTENT_SETTINGS_CHANGED, | 
| content::NotificationService::AllSources()); | 
|  | 
| @@ -4407,9 +4409,11 @@ void Browser::Observe(int type, | 
| window()->GetLocationBar()->UpdatePageActions(); | 
| break; | 
|  | 
| +#if defined(ENABLE_THEMES) | 
| case chrome::NOTIFICATION_BROWSER_THEME_CHANGED: | 
| window()->UserChangedTheme(); | 
| break; | 
| +#endif | 
|  | 
| case chrome::NOTIFICATION_PREF_CHANGED: { | 
| const std::string& pref_name = | 
|  |