Chromium Code Reviews| Index: chrome/browser/tab_contents/tab_contents.cc |
| diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc |
| index 26b77ce1255e1faf5e9013cf9f5ab3a0b5b4f355..8960d27527b51d6d7ca58d8f836153232cd08d88 100644 |
| --- a/chrome/browser/tab_contents/tab_contents.cc |
| +++ b/chrome/browser/tab_contents/tab_contents.cc |
| @@ -605,7 +605,7 @@ void TabContents::SetExtensionAppById(const std::string& extension_app_id) { |
| return; |
| ExtensionsService* extension_service = profile()->GetExtensionsService(); |
| - if (extension_service && extension_service->is_ready()) { |
| + if (extension_service) { |
|
Aaron Boodman
2010/11/18 07:49:03
No need to check this here.
Sam Kerner (Chrome)
2010/11/18 15:34:01
Fixed here and several other places.
|
| const Extension* extension = |
| extension_service->GetExtensionById(extension_app_id, false); |
| if (extension) |