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

Unified Diff: mojo/public/cpp/bindings/binding.h

Issue 1926123002: Add a ctor for InterfaceRequest<I> that takes a ScopedMessagePipeHandle, and remove MakeRequest<I>(… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 8 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: mojo/public/cpp/bindings/binding.h
diff --git a/mojo/public/cpp/bindings/binding.h b/mojo/public/cpp/bindings/binding.h
index 3d9658c1bee5c06d0e110d1b5ce566fd1d2211a6..5f33a610775bf525b06a3169129cd14628f8a0eb 100644
--- a/mojo/public/cpp/bindings/binding.h
+++ b/mojo/public/cpp/bindings/binding.h
@@ -172,7 +172,8 @@ class Binding {
// implementation. Put this object into a state where it can be rebound to a
// new pipe.
InterfaceRequest<Interface> Unbind() {
- auto request = MakeRequest<Interface>(internal_router_->PassMessagePipe());
+ auto request =
+ InterfaceRequest<Interface>(internal_router_->PassMessagePipe());
internal_router_.reset();
return request;
}
« no previous file with comments | « mojo/public/cpp/application/lib/interface_factory_connector.h ('k') | mojo/public/cpp/bindings/interface_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698