| Index: chrome/common/extensions/manifest.cc
|
| diff --git a/chrome/common/extensions/manifest.cc b/chrome/common/extensions/manifest.cc
|
| index b57e16df0d328e6b24b1479d8d803edbbda22da2..2c690132dc1e0865c9f9213051e2e4104eef4944 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))
|
|
|