| Index: extensions/common/features/permission_feature.cc
|
| diff --git a/extensions/common/features/permission_feature.cc b/extensions/common/features/permission_feature.cc
|
| index 86e0f8cbcee75534f48e1e85236580fd99265294..27d18740c11780ec2ca0fc8703b0e996b88735a7 100644
|
| --- a/extensions/common/features/permission_feature.cc
|
| +++ b/extensions/common/features/permission_feature.cc
|
| @@ -37,13 +37,13 @@ bool PermissionFeature::Validate(std::string* error) {
|
| if (!SimpleFeature::Validate(error))
|
| return false;
|
|
|
| - if (extension_types()->empty()) {
|
| + if (extension_types().empty()) {
|
| *error = name() + ": Permission features must specify at least one " +
|
| "value for extension_types.";
|
| return false;
|
| }
|
|
|
| - if (!contexts()->empty()) {
|
| + if (!contexts().empty()) {
|
| *error = name() + ": Permission features do not support contexts.";
|
| return false;
|
| }
|
|
|