| Index: chrome/browser/extensions/extension_management_api.cc
|
| diff --git a/chrome/browser/extensions/extension_management_api.cc b/chrome/browser/extensions/extension_management_api.cc
|
| index 395536140f1de75f9537fee05081f915f88943d2..8037f56d238916428f7bebbb475d418e440a4226 100644
|
| --- a/chrome/browser/extensions/extension_management_api.cc
|
| +++ b/chrome/browser/extensions/extension_management_api.cc
|
| @@ -92,7 +92,7 @@ static DictionaryValue* CreateExtensionInfo(const Extension& extension,
|
| }
|
|
|
| const std::set<std::string> perms =
|
| - extension.permission_set()->GetAPIsAsStrings();
|
| + extension.GetActivePermissions()->GetAPIsAsStrings();
|
| ListValue* permission_list = new ListValue();
|
| if (!perms.empty()) {
|
| std::set<std::string>::const_iterator perms_iter;
|
| @@ -107,7 +107,7 @@ static DictionaryValue* CreateExtensionInfo(const Extension& extension,
|
| if (!extension.is_hosted_app()) {
|
| // Skip host permissions for hosted apps.
|
| const URLPatternSet host_perms =
|
| - extension.permission_set()->explicit_hosts();
|
| + extension.GetActivePermissions()->explicit_hosts();
|
| if (!host_perms.is_empty()) {
|
| URLPatternSet::const_iterator host_perms_iter;
|
| for (host_perms_iter = host_perms.begin();
|
|
|