Index: chrome/browser/themes/theme_service.cc |
diff --git a/chrome/browser/themes/theme_service.cc b/chrome/browser/themes/theme_service.cc |
index f4278d3f788772a50e86431720cd68862d7de37a..96c5021d85cd9053039922cdd1562e9f99a96d9c 100644 |
--- a/chrome/browser/themes/theme_service.cc |
+++ b/chrome/browser/themes/theme_service.cc |
@@ -273,7 +273,7 @@ void ThemeService::Observe(int type, |
SetTheme(extension); |
break; |
} |
- case chrome::NOTIFICATION_EXTENSION_UNLOADED: |
+ case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED: |
{ |
Details<const UnloadedExtensionInfo> unloaded_details(details); |
if (unloaded_details->reason != UnloadedExtensionInfo::REASON_UPDATE && |
@@ -417,7 +417,7 @@ void ThemeService::ClearAllThemeData() { |
// There should be no more infobars. This may not be the case because of |
// http://crbug.com/62154 |
// RemoveUnusedThemes is called on a task because ClearAllThemeData() may |
- // be called as a result of NOTIFICATION_EXTENSION_UNLOADED. |
+ // be called as a result of NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED. |
base::MessageLoop::current()->PostTask(FROM_HERE, |
base::Bind(&ThemeService::RemoveUnusedThemes, |
weak_ptr_factory_.GetWeakPtr(), |
@@ -506,7 +506,7 @@ void ThemeService::OnExtensionServiceReady() { |
chrome::NOTIFICATION_EXTENSION_ENABLED, |
content::Source<Profile>(profile_)); |
registrar_.Add(this, |
- chrome::NOTIFICATION_EXTENSION_UNLOADED, |
+ chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED, |
content::Source<Profile>(profile_)); |
base::MessageLoop::current()->PostDelayedTask(FROM_HERE, |