Index: services/catalog/entry.cc |
diff --git a/services/catalog/entry.cc b/services/catalog/entry.cc |
index 6d8acdde5ac9ba1a85e126b5eb553c21986d5545..4cca6c3c2a76fe2649ffeef3fb24f42d48f6ad46 100644 |
--- a/services/catalog/entry.cc |
+++ b/services/catalog/entry.cc |
@@ -123,7 +123,6 @@ bool BuildCapabilities(const base::DictionaryValue& value, |
Entry::Entry() {} |
Entry::Entry(const std::string& name) |
: name_(name), qualifier_(shell::GetNamePath(name)), display_name_(name) {} |
-Entry::Entry(const Entry& other) = default; |
Entry::~Entry() {} |
std::unique_ptr<base::DictionaryValue> Entry::Serialize() const { |
@@ -241,7 +240,7 @@ std::unique_ptr<Entry> Entry::Deserialize(const base::DictionaryValue& value) { |
if (child) { |
child->set_package(entry.get()); |
// Caller must assume ownership of these items. |
- entry->services_.insert(child.release()); |
+ entry->children_.emplace_back(std::move(child)); |
} |
} |
} |