| Index: mojo/system/core_test_base.cc
|
| diff --git a/mojo/system/core_test_base.cc b/mojo/system/core_test_base.cc
|
| index 2fbcc989806ce849acc7eb73fd06b241b130ef57..d805edc940753082a81dfd638450c7fd12c446df 100644
|
| --- a/mojo/system/core_test_base.cc
|
| +++ b/mojo/system/core_test_base.cc
|
| @@ -47,15 +47,13 @@ class MockDispatcher : public Dispatcher {
|
| }
|
|
|
| virtual MojoResult WriteMessageImplNoLock(
|
| - const void* bytes,
|
| + UserPointer<const void> bytes,
|
| uint32_t num_bytes,
|
| std::vector<DispatcherTransport>* transports,
|
| MojoWriteMessageFlags /*flags*/) OVERRIDE {
|
| info_->IncrementWriteMessageCallCount();
|
| lock().AssertAcquired();
|
|
|
| - if (!VerifyUserPointerWithSize<1>(bytes, num_bytes))
|
| - return MOJO_RESULT_INVALID_ARGUMENT;
|
| if (num_bytes > kMaxMessageNumBytes)
|
| return MOJO_RESULT_RESOURCE_EXHAUSTED;
|
|
|
|
|