| Index: mojo/edk/system/core.cc
|
| diff --git a/mojo/edk/system/core.cc b/mojo/edk/system/core.cc
|
| index 4a57e0422eba16e5f08e4861f126651f9bc72657..f9bcadcdf05a10af74f7f8e10df8472c64255c75 100644
|
| --- a/mojo/edk/system/core.cc
|
| +++ b/mojo/edk/system/core.cc
|
| @@ -518,6 +518,16 @@ MojoResult Core::DuplicateBufferHandle(
|
| return MOJO_RESULT_OK;
|
| }
|
|
|
| +MojoResult Core::GetBufferInformation(MojoHandle buffer_handle,
|
| + UserPointer<MojoBufferInformation> info,
|
| + uint32_t info_num_bytes) {
|
| + RefPtr<Dispatcher> dispatcher(GetDispatcher(buffer_handle));
|
| + if (!dispatcher)
|
| + return MOJO_RESULT_INVALID_ARGUMENT;
|
| +
|
| + return dispatcher->GetBufferInformation(info, info_num_bytes);
|
| +}
|
| +
|
| MojoResult Core::MapBuffer(MojoHandle buffer_handle,
|
| uint64_t offset,
|
| uint64_t num_bytes,
|
|
|