Commit 2a9bf7d8 authored by Victor Costan's avatar Victor Costan Committed by Commit Bot

mojo: Fix typo in Remote documentation.

Change-Id: I9ccce314272b75c9e5f868cea4c825c0df12ca4b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1757462
Auto-Submit: Victor Costan <pwnall@chromium.org>
Commit-Queue: Ken Rockot <rockot@google.com>
Reviewed-by: default avatarKen Rockot <rockot@google.com>
Cr-Commit-Position: refs/heads/master@{#687678}
parent 0ee772a4
......@@ -33,10 +33,10 @@ namespace mojo {
// with a base::SequenceTaskRunner which the Remote uses exclusively to schedule
// response callbacks and disconnection notifications.
//
// The most common ways to bind a Remote are to consume to a PendingRemote
// received via some IPC, or to call |BindNewPipeAndPassReceiver()| and send the
// returned PendingReceiver somewhere useful (i.e., to a remote Receiver who
// will consume it). For example:
// The most common ways to bind a Remote are to consume a PendingRemote received
// via some IPC, or to call |BindNewPipeAndPassReceiver()| and send the returned
// PendingReceiver somewhere useful (i.e., to a remote Receiver who will consume
// it). For example:
//
// mojo::Remote<mojom::Widget> widget;
// widget_factory->CreateWidget(widget.BindNewPipeAndPassReceiver());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment