Index: third_party/mojo/src/mojo/public/go/system/shared_buffer.go |
diff --git a/third_party/mojo/src/mojo/public/go/system/shared_buffer.go b/third_party/mojo/src/mojo/public/go/system/shared_buffer.go |
index 925ee353d637658d9ea48594509e2780ed7a6451..f3048f877918d78252457048ddbb66abf732f116 100644 |
--- a/third_party/mojo/src/mojo/public/go/system/shared_buffer.go |
+++ b/third_party/mojo/src/mojo/public/go/system/shared_buffer.go |
@@ -35,7 +35,7 @@ type sharedBuffer struct { |
func (h *sharedBuffer) DuplicateBufferHandle(opts *DuplicateBufferHandleOptions) (MojoResult, SharedBufferHandle) { |
var flags uint32 |
if opts != nil { |
- flags = uint32(opts.flags) |
+ flags = uint32(opts.Flags) |
} |
h.core.mu.Lock() |
r, dup := sysImpl.DuplicateBufferHandle(uint32(h.mojoHandle), flags) |