Index: extensions/common/manifest.cc |
diff --git a/extensions/common/manifest.cc b/extensions/common/manifest.cc |
index a02fdc31c90c53dfc8e6765b84463bd08428b20e..bbf2ff85e932f73c5d0cf992d57be1f87469d0c1 100644 |
--- a/extensions/common/manifest.cc |
+++ b/extensions/common/manifest.cc |
@@ -159,8 +159,7 @@ bool Manifest::ValidateManifest( |
Feature* feature = manifest_feature_provider->GetFeature(*feature_name); |
Feature::Availability result = feature->IsAvailableToManifest( |
- extension_id_, type_, Feature::ConvertLocation(location_), |
- GetManifestVersion()); |
+ extension_id_, type_, location_, GetManifestVersion()); |
if (!result.is_available()) |
warnings->push_back(InstallWarning(result.message(), *feature_name)); |
} |
@@ -260,8 +259,8 @@ bool Manifest::CanAccessKey(const std::string& key) const { |
return true; |
return feature->IsAvailableToManifest( |
- extension_id_, type_, Feature::ConvertLocation(location_), |
- GetManifestVersion()).is_available(); |
+ extension_id_, type_, location_, GetManifestVersion()) |
+ .is_available(); |
} |
} // namespace extensions |