Index: chrome/common/extensions/extension.cc |
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc |
index e239abef7403fe4e557243be9a54b8314255b1d3..957ec8aa9cd7d40e3af0e4abf39285103c7008a0 100644 |
--- a/chrome/common/extensions/extension.cc |
+++ b/chrome/common/extensions/extension.cc |
@@ -3191,7 +3191,11 @@ bool Extension::ParsePermissions(const char* key, |
CHECK(feature.get()); |
extensions::Feature::Availability availability = |
- feature->IsAvailable(this); |
+ feature->IsAvailableToManifest( |
+ id(), |
+ GetType(), |
+ extensions::Feature::ConvertLocation(location()), |
+ manifest_version()); |
if (availability != extensions::Feature::IS_AVAILABLE) { |
// We special case hosted apps because some old versions of Chrome did |
// not return errors here and we ended up with extensions in the store |