| Index: mojo/system/dispatcher.cc
|
| diff --git a/mojo/system/dispatcher.cc b/mojo/system/dispatcher.cc
|
| index a6e44a8c5336f70a50b1fd2f1a885cf19217764b..b636b37eeaa696514bcfdc94c84abe856e0a580f 100644
|
| --- a/mojo/system/dispatcher.cc
|
| +++ b/mojo/system/dispatcher.cc
|
| @@ -164,8 +164,8 @@ MojoResult Dispatcher::EndWriteData(uint32_t num_bytes_written) {
|
| return EndWriteDataImplNoLock(num_bytes_written);
|
| }
|
|
|
| -MojoResult Dispatcher::ReadData(void* elements,
|
| - uint32_t* num_bytes,
|
| +MojoResult Dispatcher::ReadData(UserPointer<void> elements,
|
| + UserPointer<uint32_t> num_bytes,
|
| MojoReadDataFlags flags) {
|
| base::AutoLock locker(lock_);
|
| if (is_closed_)
|
| @@ -303,8 +303,8 @@ MojoResult Dispatcher::EndWriteDataImplNoLock(uint32_t /*num_bytes_written*/) {
|
| return MOJO_RESULT_INVALID_ARGUMENT;
|
| }
|
|
|
| -MojoResult Dispatcher::ReadDataImplNoLock(void* /*elements*/,
|
| - uint32_t* /*num_bytes*/,
|
| +MojoResult Dispatcher::ReadDataImplNoLock(UserPointer<void> /*elements*/,
|
| + UserPointer<uint32_t> /*num_bytes*/,
|
| MojoReadDataFlags /*flags*/) {
|
| lock_.AssertAcquired();
|
| DCHECK(!is_closed_);
|
|
|