Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: third_party/mojo/src/mojo/public/go/system/core.go

Issue 1101303002: Update mojo sdk to rev e7270700d671fa8e458b4d8c9e47f7bcfb65da0b (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actualy provide a default TaskTracker impl Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/mojo/src/mojo/public/go/system/core.go
diff --git a/third_party/mojo/src/mojo/public/go/system/core.go b/third_party/mojo/src/mojo/public/go/system/core.go
index 4fc3df5d4d3f6df6770b347da42d195f4f26ba0c..9e29cff783a9d3b7a4e883f8113f08821cf060c3 100644
--- a/third_party/mojo/src/mojo/public/go/system/core.go
+++ b/third_party/mojo/src/mojo/public/go/system/core.go
@@ -117,7 +117,7 @@ func (impl *coreImpl) CreateDataPipe(opts *DataPipeOptions) (MojoResult, Produce
if opts == nil {
r, p, c = sysImpl.CreateDataPipeWithDefaultOptions()
} else {
- r, p, c = sysImpl.CreateDataPipe(uint32(opts.flags), uint32(opts.elemSize), uint32(opts.capacity))
+ r, p, c = sysImpl.CreateDataPipe(uint32(opts.Flags), uint32(opts.ElemSize), uint32(opts.Capacity))
}
impl.mu.Unlock()
return MojoResult(r), impl.AcquireNativeHandle(MojoHandle(p)).ToProducerHandle(), impl.AcquireNativeHandle(MojoHandle(c)).ToConsumerHandle()
@@ -127,7 +127,7 @@ func (impl *coreImpl) CreateMessagePipe(opts *MessagePipeOptions) (MojoResult, M
var flags uint32
if opts != nil {
- flags = uint32(opts.flags)
+ flags = uint32(opts.Flags)
}
impl.mu.Lock()
r, handle0, handle1 := sysImpl.CreateMessagePipe(flags)
@@ -138,7 +138,7 @@ func (impl *coreImpl) CreateMessagePipe(opts *MessagePipeOptions) (MojoResult, M
func (impl *coreImpl) CreateSharedBuffer(opts *SharedBufferOptions, numBytes uint64) (MojoResult, SharedBufferHandle) {
var flags uint32
if opts != nil {
- flags = uint32(opts.flags)
+ flags = uint32(opts.Flags)
}
impl.mu.Lock()
r, handle := sysImpl.CreateSharedBuffer(flags, numBytes)
« no previous file with comments | « third_party/mojo/src/mojo/public/go/bindings/message.go ('k') | third_party/mojo/src/mojo/public/go/system/mojo_types.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698