Index: extensions/common/features/base_feature_provider.cc |
diff --git a/extensions/common/features/base_feature_provider.cc b/extensions/common/features/base_feature_provider.cc |
index cae08d6243e78b1700854e57d5077ff47dd17cf1..472e1f55122b89a44fb7aa0973e7c6982560aa13 100644 |
--- a/extensions/common/features/base_feature_provider.cc |
+++ b/extensions/common/features/base_feature_provider.cc |
@@ -52,8 +52,8 @@ |
if (iter.value().GetType() == base::Value::TYPE_DICTIONARY) { |
linked_ptr<SimpleFeature> feature((*factory_)()); |
- std::vector<std::string> split = base::SplitString( |
- iter.key(), ".", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
+ std::vector<std::string> split; |
+ base::SplitString(iter.key(), '.', &split); |
// Push parent features on the stack, starting with the current feature. |
// If one of the features has "noparent" set, stop pushing features on |
@@ -171,8 +171,8 @@ |
if (feature->no_parent()) |
return nullptr; |
- std::vector<std::string> split = base::SplitString( |
- feature->name(), ".", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); |
+ std::vector<std::string> split; |
+ base::SplitString(feature->name(), '.', &split); |
if (split.size() < 2) |
return nullptr; |
split.pop_back(); |