Chromium Code Reviews| Index: chrome/browser/background_application_list_model.cc |
| diff --git a/chrome/browser/background_application_list_model.cc b/chrome/browser/background_application_list_model.cc |
| index 63f2b942758ce71552b2c521e7def7fe439741c6..da9ce42e609dee8314c62af3a2b925c03455dbc6 100644 |
| --- a/chrome/browser/background_application_list_model.cc |
| +++ b/chrome/browser/background_application_list_model.cc |
| @@ -240,7 +240,7 @@ void BackgroundApplicationListModel::Observe( |
| return; |
| } |
| ExtensionsService* service = profile_->GetExtensionsService(); |
| - if (!service || !service->is_ready()) |
| + if (!service) |
|
Aaron Boodman
2010/11/18 07:49:03
I do not think it is ever possible to not have an
Sam Kerner (Chrome)
2010/11/18 15:34:01
Done.
|
| return; |
| switch (type.value) { |
| case NotificationType::EXTENSION_LOADED: |
| @@ -286,7 +286,6 @@ void BackgroundApplicationListModel::RemoveObserver(Observer* observer) { |
| // each observer. |
| void BackgroundApplicationListModel::Update() { |
| ExtensionsService* service = profile_->GetExtensionsService(); |
| - DCHECK(service->is_ready()); |
| // Discover current background applications, compare with previous list, which |
| // is consistently sorted, and notify observers if they differ. |