| Index: chrome/browser/extensions/extension_service.cc
|
| diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc
|
| index 53d907bdea0a0b73b68cfd1b1c42553fc75b9a17..c78d8fc458d6a61ea640883b2d2d1a514cba693d 100644
|
| --- a/chrome/browser/extensions/extension_service.cc
|
| +++ b/chrome/browser/extensions/extension_service.cc
|
| @@ -1031,8 +1031,11 @@ void ExtensionService::NotifyExtensionLoaded(const Extension* extension) {
|
| Profile::FromBrowserContext(host->GetBrowserContext());
|
| if (host_profile->GetOriginalProfile() ==
|
| profile_->GetOriginalProfile()) {
|
| + // We don't need to include tab permisisons here, since the extension
|
| + // was just loaded.
|
| std::vector<ExtensionMsg_Loaded_Params> loaded_extensions(
|
| - 1, ExtensionMsg_Loaded_Params(extension));
|
| + 1, ExtensionMsg_Loaded_Params(extension,
|
| + false /* no tab permissions */));
|
| host->Send(
|
| new ExtensionMsg_Loaded(loaded_extensions));
|
| }
|
|
|