Index: mojo/system/core.cc |
diff --git a/mojo/system/core.cc b/mojo/system/core.cc |
index 66278cc7539bcf6946c5236d4013a3f435aeadb6..889943490fd5d5781a5794667ec61c30123df39e 100644 |
--- a/mojo/system/core.cc |
+++ b/mojo/system/core.cc |
@@ -360,8 +360,7 @@ MojoResult Core::WriteData(MojoHandle data_pipe_producer_handle, |
if (!dispatcher) |
return MOJO_RESULT_INVALID_ARGUMENT; |
- return dispatcher->WriteData(elements.GetPointerUnsafe(), |
- num_bytes.GetPointerUnsafe(), flags); |
+ return dispatcher->WriteData(elements, num_bytes, flags); |
} |
MojoResult Core::BeginWriteData(MojoHandle data_pipe_producer_handle, |