Index: mojo/edk/embedder/system_impl_private_entrypoints.cc |
diff --git a/mojo/edk/embedder/system_impl_private_entrypoints.cc b/mojo/edk/embedder/system_impl_private_entrypoints.cc |
index f35c91f06abb1ad7d0abf950136c95ecda320386..0f1b18dec8d9bd084e5f606b8a6781c110203e6c 100644 |
--- a/mojo/edk/embedder/system_impl_private_entrypoints.cc |
+++ b/mojo/edk/embedder/system_impl_private_entrypoints.cc |
@@ -92,6 +92,14 @@ MojoResult MojoSystemImplClose(MojoSystemImpl system, MojoHandle handle) { |
return core->Close(handle); |
} |
+MojoResult MojoSystemImplGetRights(MojoSystemImpl system, |
+ MojoHandle handle, |
+ MojoHandleRights* rights) { |
+ mojo::system::Core* core = static_cast<mojo::system::Core*>(system); |
+ DCHECK(core); |
+ return core->GetRights(handle, MakeUserPointer(rights)); |
+} |
+ |
MojoResult MojoSystemImplWait(MojoSystemImpl system, |
MojoHandle handle, |
MojoHandleSignals signals, |