Index: mojo/system/dispatcher.cc |
diff --git a/mojo/system/dispatcher.cc b/mojo/system/dispatcher.cc |
index e802dee7e14a203f607419e3c39a1305650e35ee..bd429296d864d997410d6528dbfc99614838cfb9 100644 |
--- a/mojo/system/dispatcher.cc |
+++ b/mojo/system/dispatcher.cc |
@@ -193,7 +193,7 @@ MojoResult Dispatcher::EndReadData(uint32_t num_bytes_read) { |
} |
MojoResult Dispatcher::DuplicateBufferHandle( |
- const MojoDuplicateBufferHandleOptions* options, |
+ UserPointer<const MojoDuplicateBufferHandleOptions> options, |
scoped_refptr<Dispatcher>* new_dispatcher) { |
base::AutoLock locker(lock_); |
if (is_closed_) |
@@ -330,7 +330,7 @@ MojoResult Dispatcher::EndReadDataImplNoLock(uint32_t /*num_bytes_read*/) { |
} |
MojoResult Dispatcher::DuplicateBufferHandleImplNoLock( |
- const MojoDuplicateBufferHandleOptions* /*options*/, |
+ UserPointer<const MojoDuplicateBufferHandleOptions> /*options*/, |
scoped_refptr<Dispatcher>* /*new_dispatcher*/) { |
lock_.AssertAcquired(); |
DCHECK(!is_closed_); |