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

Unified Diff: mojo/shell/view_manager_loader.cc

Issue 287143003: Mojo: Internalize ServiceConnector<> (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing function Created 6 years, 7 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/view_manager/view_manager_connection_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/view_manager_loader.cc
diff --git a/mojo/shell/view_manager_loader.cc b/mojo/shell/view_manager_loader.cc
index cd2463819bf4f93a277c329407836d9226f98c6c..c590dd7679db8a39d3c44b0ee2415a3eb475e85c 100644
--- a/mojo/shell/view_manager_loader.cc
+++ b/mojo/shell/view_manager_loader.cc
@@ -25,10 +25,8 @@ void ViewManagerLoader::LoadService(ServiceManager* manager,
root_node_manager_.reset(
new view_manager::service::RootNodeManager(app->shell()));
}
- app->AddServiceConnector(
- new ServiceConnector<view_manager::service::ViewManagerConnection,
- view_manager::service::RootNodeManager>(
- root_node_manager_.get()));
+ app->AddService<view_manager::service::ViewManagerConnection>(
+ root_node_manager_.get());
apps_.push_back(app.release());
}
« no previous file with comments | « mojo/services/view_manager/view_manager_connection_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698