| Index: chrome/common/extensions/extension.cc
|
| diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
|
| index 5cb08067560f211d0ca11ed3395aaa5f8c61480e..6dadfcd4815e01587031d41e8da61aabea207b23 100644
|
| --- a/chrome/common/extensions/extension.cc
|
| +++ b/chrome/common/extensions/extension.cc
|
| @@ -603,8 +603,10 @@ bool Extension::ParsePermissions(const char* key,
|
| // permission is added.
|
| DCHECK(feature);
|
| // http://crbug.com/176381
|
| - if (!feature)
|
| + if (!feature) {
|
| + to_remove.push_back(it->id());
|
| continue;
|
| + }
|
|
|
| Feature::Availability availability =
|
| feature->IsAvailableToManifest(
|
|
|