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

Unified Diff: services/view_manager/view_manager_service_impl.cc

Issue 893183003: De-client the ViewManager interfaces (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
Index: services/view_manager/view_manager_service_impl.cc
diff --git a/services/view_manager/view_manager_service_impl.cc b/services/view_manager/view_manager_service_impl.cc
index 51e25c477d31042a5b533d8efb47a7d234551a80..7dc4d3bf6f5f4cc00ce8758ad11056d96119712f 100644
--- a/services/view_manager/view_manager_service_impl.cc
+++ b/services/view_manager/view_manager_service_impl.cc
@@ -54,6 +54,7 @@ ViewManagerServiceImpl::~ViewManagerServiceImpl() {
}
void ViewManagerServiceImpl::Init(mojo::ViewManagerClient* client,
+ mojo::ViewManagerServicePtr service_ptr,
InterfaceRequest<ServiceProvider> services,
ServiceProviderPtr exposed_services) {
DCHECK(!client_);
@@ -66,7 +67,7 @@ void ViewManagerServiceImpl::Init(mojo::ViewManagerClient* client,
connection_manager_->wm_internal()->CreateWindowManagerForViewManagerClient(
id_, pipe.handle1.Pass());
client->OnEmbed(id_, creator_url_, ViewToViewData(to_send.front()),
- services.Pass(), exposed_services.Pass(),
+ service_ptr.Pass(), services.Pass(), exposed_services.Pass(),
pipe.handle0.Pass());
}
« no previous file with comments | « services/view_manager/view_manager_service_impl.h ('k') | services/view_manager/view_manager_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698