Index: chrome/common/extensions/features/simple_feature.cc |
diff --git a/chrome/common/extensions/features/simple_feature.cc b/chrome/common/extensions/features/simple_feature.cc |
index 694b90d5129304dad30b406af6968546a495b746..7de159d94bcbc29dde52b2c787dd5abe8aecaf1a 100644 |
--- a/chrome/common/extensions/features/simple_feature.cc |
+++ b/chrome/common/extensions/features/simple_feature.cc |
@@ -313,10 +313,6 @@ Feature::Availability SimpleFeature::IsAvailableToManifest( |
Location location, |
int manifest_version, |
Platform platform) const { |
- // Component extensions can access any feature. |
- if (location == COMPONENT_LOCATION) |
- return CreateAvailability(IS_AVAILABLE, type); |
- |
if (!whitelist_.empty()) { |
if (!IsIdInWhitelist(extension_id)) { |
// TODO(aa): This is gross. There should be a better way to test the |