| Index: mojo/system/core.cc
|
| diff --git a/mojo/system/core.cc b/mojo/system/core.cc
|
| index 3679c6bbf512681d59b5563e978c732c96aa635e..66278cc7539bcf6946c5236d4013a3f435aeadb6 100644
|
| --- a/mojo/system/core.cc
|
| +++ b/mojo/system/core.cc
|
| @@ -395,8 +395,7 @@ MojoResult Core::ReadData(MojoHandle data_pipe_consumer_handle,
|
| if (!dispatcher)
|
| return MOJO_RESULT_INVALID_ARGUMENT;
|
|
|
| - return dispatcher->ReadData(elements.GetPointerUnsafe(),
|
| - num_bytes.GetPointerUnsafe(), flags);
|
| + return dispatcher->ReadData(elements, num_bytes, flags);
|
| }
|
|
|
| MojoResult Core::BeginReadData(MojoHandle data_pipe_consumer_handle,
|
|
|