| Index: mojo/system/core_test_base.cc
|
| diff --git a/mojo/system/core_test_base.cc b/mojo/system/core_test_base.cc
|
| index e4efe459e16cee3ed4953c01bfa9eb75cb4cfca7..85f44ac6a14fa44cabca9ec66092bbb36c4db3bb 100644
|
| --- a/mojo/system/core_test_base.cc
|
| +++ b/mojo/system/core_test_base.cc
|
| @@ -54,7 +54,7 @@ class MockDispatcher : public Dispatcher {
|
| info_->IncrementWriteMessageCallCount();
|
| lock().AssertAcquired();
|
|
|
| - if (!VerifyUserPointer<void>(bytes, num_bytes))
|
| + if (!VerifyUserPointerWithSize<1>(bytes, num_bytes))
|
| return MOJO_RESULT_INVALID_ARGUMENT;
|
| if (num_bytes > kMaxMessageNumBytes)
|
| return MOJO_RESULT_RESOURCE_EXHAUSTED;
|
| @@ -74,7 +74,7 @@ class MockDispatcher : public Dispatcher {
|
| info_->IncrementReadMessageCallCount();
|
| lock().AssertAcquired();
|
|
|
| - if (num_bytes && !VerifyUserPointer<void>(bytes, *num_bytes))
|
| + if (num_bytes && !VerifyUserPointerWithSize<1>(bytes, *num_bytes))
|
| return MOJO_RESULT_INVALID_ARGUMENT;
|
|
|
| return MOJO_RESULT_OK;
|
|
|