| Index: mojo/edk/embedder/entrypoints.cc
|
| diff --git a/mojo/edk/embedder/entrypoints.cc b/mojo/edk/embedder/entrypoints.cc
|
| index 260eae0b83f6e1b3a3742dee1c2fcd7707e1c22c..c636e440d1f8c6276adbcb379a10aec3c71eff95 100644
|
| --- a/mojo/edk/embedder/entrypoints.cc
|
| +++ b/mojo/edk/embedder/entrypoints.cc
|
| @@ -31,6 +31,13 @@ MojoResult MojoGetRights(MojoHandle handle, MojoHandleRights* rights) {
|
| return g_core->GetRights(handle, MakeUserPointer(rights));
|
| }
|
|
|
| +MojoResult MojoReplaceHandleWithReducedRights(MojoHandle handle,
|
| + MojoHandleRights rights_to_remove,
|
| + MojoHandle* replacement_handle) {
|
| + return g_core->ReplaceHandleWithReducedRights(
|
| + handle, rights_to_remove, MakeUserPointer(replacement_handle));
|
| +}
|
| +
|
| MojoResult MojoDuplicateHandleWithReducedRights(
|
| MojoHandle handle,
|
| MojoHandleRights rights_to_remove,
|
|
|