Index: chrome/browser/ui/views/location_bar/location_bar_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
index df73e4c8b9699a93eb0a1de6b608df224339c5f2..177ba02f1ac4b5165155576714f230720ed7a221 100644 |
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc |
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc |
@@ -428,7 +428,9 @@ void LocationBarView::Init() { |
chrome::NOTIFICATION_EXTENSION_LOCATION_BAR_UPDATED, |
profile_source); |
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_LOADED, profile_source); |
- registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED, profile_source); |
+ registrar_.Add(this, |
+ chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED, |
+ profile_source); |
// Initialize the location entry. We do this to avoid a black flash which is |
// visible when the location entry has just been initialized. |
@@ -1345,7 +1347,7 @@ void LocationBarView::Observe(int type, |
} |
case chrome::NOTIFICATION_EXTENSION_LOADED: |
- case chrome::NOTIFICATION_EXTENSION_UNLOADED: |
+ case chrome::NOTIFICATION_EXTENSION_UNLOADED_DEPRECATED: |
Update(NULL); |
break; |