| Index: mojo/public/platform/native/system_thunks.c
|
| diff --git a/mojo/public/platform/native/system_thunks.c b/mojo/public/platform/native/system_thunks.c
|
| index 6cff1cbaa3d5343148d33b0cf2a5feb8f47dfedc..c9517ffee4b2aca19155644f96d592db9e211caf 100644
|
| --- a/mojo/public/platform/native/system_thunks.c
|
| +++ b/mojo/public/platform/native/system_thunks.c
|
| @@ -25,6 +25,15 @@ MojoResult MojoGetRights(MojoHandle handle, MojoHandleRights* rights) {
|
| return g_thunks.GetRights(handle, rights);
|
| }
|
|
|
| +MojoResult MojoReplaceHandleWithReducedRights(
|
| + MojoHandle handle,
|
| + MojoHandleRights rights_to_remove,
|
| + MojoHandle* replacement_handle) {
|
| + assert(g_thunks.ReplaceHandleWithReducedRights);
|
| + return g_thunks.ReplaceHandleWithReducedRights(
|
| + handle, rights_to_remove, replacement_handle);
|
| +}
|
| +
|
| MojoResult MojoDuplicateHandleWithReducedRights(
|
| MojoHandle handle,
|
| MojoHandleRights rights_to_remove,
|
|
|