Index: chrome/common/extensions/manifest.cc |
diff --git a/chrome/common/extensions/manifest.cc b/chrome/common/extensions/manifest.cc |
index 52ce77bbc6e8428c09a033abd539f560a62369f4..c8cedf19e6c19a8ebe78137d05317a12e6194e81 100644 |
--- a/chrome/common/extensions/manifest.cc |
+++ b/chrome/common/extensions/manifest.cc |
@@ -142,8 +142,10 @@ bool Manifest::ValidateManifest( |
// checking to let developers know when they screw up. |
FeatureProvider* provider = BaseFeatureProvider::GetByName("manifest"); |
- std::set<std::string> feature_names = provider->GetAllFeatureNames(); |
- for (std::set<std::string>::iterator feature_name = feature_names.begin(); |
+ const std::vector<std::string>& feature_names = |
+ provider->GetAllFeatureNames(); |
+ for (std::vector<std::string>::const_iterator feature_name = |
+ feature_names.begin(); |
feature_name != feature_names.end(); ++feature_name) { |
// Use Get instead of HasKey because the former uses path expansion. |
if (!value_->Get(*feature_name, NULL)) |