Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: mojo/services/catalog/factory.cc

Issue 1828803002: Simplify resolve. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@61catalog
Patch Set: . Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/catalog/entry.cc ('k') | mojo/services/catalog/reader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/catalog/factory.cc
diff --git a/mojo/services/catalog/factory.cc b/mojo/services/catalog/factory.cc
index 7087af7d4b015cc245e88313eeb2cacaa8476c9b..2b6229921b3e96d4e55b142eea4f0263b451075b 100644
--- a/mojo/services/catalog/factory.cc
+++ b/mojo/services/catalog/factory.cc
@@ -58,7 +58,7 @@ 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(file_task_runner_, std::move(store_));
+ Catalog* instance = new Catalog(std::move(store_), file_task_runner_);
catalogs_[user_id] = make_scoped_ptr(instance);
return instance;
}
« no previous file with comments | « mojo/services/catalog/entry.cc ('k') | mojo/services/catalog/reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698