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

Unified Diff: content/public/browser/utility_process_mojo_client.h

Issue 2592623002: mojo:: Introduce InterfaceRequest ctor that takes in InterfacePtr* (Closed)
Patch Set: Rebase + response to review Created 4 years 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: content/public/browser/utility_process_mojo_client.h
diff --git a/content/public/browser/utility_process_mojo_client.h b/content/public/browser/utility_process_mojo_client.h
index b8e73888299b5f056703842a8f5052a3d0f30340..29e76fa2fcc40c05dc7a63c1dad3640bd32a29e3 100644
--- a/content/public/browser/utility_process_mojo_client.h
+++ b/content/public/browser/utility_process_mojo_client.h
@@ -56,7 +56,7 @@ class UtilityProcessMojoClient {
start_called_ = true;
- mojo::InterfaceRequest<MojoInterface> req = mojo::MakeRequest(&service_);
+ mojo::InterfaceRequest<MojoInterface> req(&service_);
service_.set_connection_error_handler(on_error_callback_);
helper_->Start(MojoInterface::Name_, req.PassMessagePipe());
}
« no previous file with comments | « content/common/service_manager/child_connection.cc ('k') | content/renderer/device_sensors/device_sensor_event_pump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698