Commit e464f72f authored by Helen Li's avatar Helen Li Committed by Commit Bot

Minor edit to mojo/public/cpp/system/README.md

DataPipe's members are producer_handle and consumer_handle, and not producer
and consumer. This is a minor CL to update the references.

TBR=rockot@chromium.org

Change-Id: Ia2dc6686ecd83d5e587a4b33b73599180090b642
Reviewed-on: https://chromium-review.googlesource.com/1150429
Commit-Queue: Helen Li <xunjieli@chromium.org>
Reviewed-by: default avatarHelen Li <xunjieli@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577993}
parent dc24395b
......@@ -95,8 +95,8 @@ helpers for more strongly-typed data pipe usage:
``` cpp
mojo::DataPipe pipe;
mojo::ScopedDataPipeProducerHandle producer = std::move(pipe.producer);
mojo::ScopedDataPipeConsumerHandle consumer = std::move(pipe.consumer);
mojo::ScopedDataPipeProducerHandle producer = std::move(pipe.producer_handle);
mojo::ScopedDataPipeConsumerHandle consumer = std::move(pipe.consumer_handle);
// Or alternatively:
mojo::ScopedDataPipeProducerHandle producer;
......
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