| Index: chrome/browser/tab_contents/tab_contents.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents.cc (revision 66663)
|
| +++ chrome/browser/tab_contents/tab_contents.cc (working copy)
|
| @@ -598,10 +598,12 @@
|
| return;
|
|
|
| ExtensionsService* extension_service = profile()->GetExtensionsService();
|
| - const Extension* extension =
|
| - extension_service->GetExtensionById(extension_app_id, false);
|
| - if (extension)
|
| - SetExtensionApp(extension);
|
| + if (extension_service && extension_service->is_ready()) {
|
| + const Extension* extension =
|
| + extension_service->GetExtensionById(extension_app_id, false);
|
| + if (extension)
|
| + SetExtensionApp(extension);
|
| + }
|
| }
|
|
|
| SkBitmap* TabContents::GetExtensionAppIcon() {
|
|
|