Skip to content

Commit 8eddfed

Browse files
Sandboxed API Teamcopybara-github
authored andcommitted
Fix typo in doc for TransferToSandboxee
PiperOrigin-RevId: 910018317 Change-Id: Ie6182c5f0c6cddd7bb7a1952fab5f1704bbeeb45
1 parent 2a3f7a1 commit 8eddfed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sandboxed_api/sandbox.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class SandboxBase {
120120
// sapi::v::Array<uint8_t> sapi_buffer(
121121
// reinterpret_cast<uint8_t*>(buffer.data()), buffer.size());
122122
// SAPI_RETURN_IF_ERROR(sandbox.Allocate(&sapi_buffer));
123-
// SAPI_RETURN_IF_ERROR(sandbox.TransferFromSandboxee(&sapi_buffer));
123+
// SAPI_RETURN_IF_ERROR(sandbox.TransferToSandboxee(&sapi_buffer));
124124
absl::Status TransferToSandboxee(v::Var* var);
125125

126126
// Transfers memory from the sandboxee's address space to the hostcode.

0 commit comments

Comments
 (0)