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

Unified Diff: services/ui/input_manager/input_associate.cc

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
« no previous file with comments | « mojo/public/cpp/bindings/tests/validation_unittest.cc ('k') | shell/android/android_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/input_manager/input_associate.cc
diff --git a/services/ui/input_manager/input_associate.cc b/services/ui/input_manager/input_associate.cc
index ad34f1bafda16f44890430346a350cae389fbb79..bbe21eef4d2f9b3ac4f7d2c0769cba8ddcc1a030 100644
--- a/services/ui/input_manager/input_associate.cc
+++ b/services/ui/input_manager/input_associate.cc
@@ -49,9 +49,9 @@ void InputAssociate::ConnectToViewService(
DCHECK(view_token); // checked by mojom
if (service_name == mojo::ui::InputConnection::Name_) {
- CreateInputConnection(
- view_token.Pass(),
- mojo::MakeRequest<mojo::ui::InputConnection>(client_handle.Pass()));
+ CreateInputConnection(view_token.Pass(),
+ mojo::InterfaceRequest<mojo::ui::InputConnection>(
+ client_handle.Pass()));
}
}
@@ -62,9 +62,9 @@ void InputAssociate::ConnectToViewTreeService(
DCHECK(view_tree_token); // checked by mojom
if (service_name == mojo::ui::InputDispatcher::Name_) {
- CreateInputDispatcher(
- view_tree_token.Pass(),
- mojo::MakeRequest<mojo::ui::InputDispatcher>(client_handle.Pass()));
+ CreateInputDispatcher(view_tree_token.Pass(),
+ mojo::InterfaceRequest<mojo::ui::InputDispatcher>(
+ client_handle.Pass()));
}
}
« no previous file with comments | « mojo/public/cpp/bindings/tests/validation_unittest.cc ('k') | shell/android/android_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698