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

Unified Diff: mojo/services/surfaces/surfaces_service_application.cc

Issue 718623004: Use Binding<Interface> in surfaces and gles2 code (Closed) Base URL: git@github.com:domokit/mojo.git@connector
Patch Set: use InterfaceRequest<> instead of InterfaceRequest<>* Created 6 years, 1 month 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/surfaces/surfaces_impl.cc ('k') | mojo/services/surfaces/surfaces_service_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/surfaces/surfaces_service_application.cc
diff --git a/mojo/services/surfaces/surfaces_service_application.cc b/mojo/services/surfaces/surfaces_service_application.cc
index 6472a6572f78c039ac0c2894677f26c3a66781fc..fb2b3a70a811b1145b2ca29c2058e34d97102624 100644
--- a/mojo/services/surfaces/surfaces_service_application.cc
+++ b/mojo/services/surfaces/surfaces_service_application.cc
@@ -28,8 +28,7 @@ bool SurfacesServiceApplication::ConfigureIncomingConnection(
void SurfacesServiceApplication::Create(
ApplicationConnection* connection,
InterfaceRequest<SurfacesService> request) {
- BindToRequest(new SurfacesServiceImpl(&manager_, &next_id_namespace_, this),
- &request);
+ new SurfacesServiceImpl(&manager_, &next_id_namespace_, this, request.Pass());
}
void SurfacesServiceApplication::FrameSubmitted() {
« no previous file with comments | « mojo/services/surfaces/surfaces_impl.cc ('k') | mojo/services/surfaces/surfaces_service_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698