Index: mojo/system/core.cc |
diff --git a/mojo/system/core.cc b/mojo/system/core.cc |
index f5852a417f1d6d12960a10ef7f74ea67dac30058..641bcd7c3d187fe0f83d29ea69757e8aec0db7d6 100644 |
--- a/mojo/system/core.cc |
+++ b/mojo/system/core.cc |
@@ -412,8 +412,7 @@ MojoResult Core::BeginReadData(MojoHandle data_pipe_consumer_handle, |
if (!dispatcher) |
return MOJO_RESULT_INVALID_ARGUMENT; |
- return dispatcher->BeginReadData(buffer.GetPointerUnsafe(), |
- buffer_num_bytes.GetPointerUnsafe(), flags); |
+ return dispatcher->BeginReadData(buffer, buffer_num_bytes, flags); |
} |
MojoResult Core::EndReadData(MojoHandle data_pipe_consumer_handle, |