Index: mojo/services/catalog/factory.cc |
diff --git a/mojo/services/catalog/factory.cc b/mojo/services/catalog/factory.cc |
index 2b6229921b3e96d4e55b142eea4f0263b451075b..09b18064940a51a93cb6bd6b277f050fb13f494a 100644 |
--- a/mojo/services/catalog/factory.cc |
+++ b/mojo/services/catalog/factory.cc |
@@ -58,7 +58,8 @@ Catalog* Factory::GetCatalogForUserId(const std::string& user_id) { |
return it->second.get(); |
// TODO(beng): There needs to be a way to load the store from different users. |
- Catalog* instance = new Catalog(std::move(store_), file_task_runner_); |
+ Catalog* instance = |
+ new Catalog(std::move(store_), file_task_runner_, &system_catalog_); |
catalogs_[user_id] = make_scoped_ptr(instance); |
return instance; |
} |