Index: components/drive/drive_app_registry.cc |
diff --git a/components/drive/drive_app_registry.cc b/components/drive/drive_app_registry.cc |
index f6cbc502cdf487607dc11f8af78947e6d531b176..7e62ed2e45c74f79efd2aaae00b993d015704bc3 100644 |
--- a/components/drive/drive_app_registry.cc |
+++ b/components/drive/drive_app_registry.cc |
@@ -20,9 +20,10 @@ |
namespace { |
// Add {selector -> app_id} mapping to |map|. |
-void AddAppSelectorList(const ScopedVector<std::string>& selectors, |
- const std::string& app_id, |
- std::multimap<std::string, std::string>* map) { |
+void AddAppSelectorList( |
+ const std::vector<std::unique_ptr<std::string>>& selectors, |
+ const std::string& app_id, |
+ std::multimap<std::string, std::string>* map) { |
for (size_t i = 0; i < selectors.size(); ++i) |
map->insert(std::make_pair(*selectors[i], app_id)); |
} |