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

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

Issue 890843003: Revert of Update mojo sdk to rev 8af2ccff2eee4bfca1043015abee30482a030b30 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/handle.go
diff --git a/third_party/mojo/src/mojo/public/go/system/handle.go b/third_party/mojo/src/mojo/public/go/system/handle.go
index 189c8dd15c030f3ec287cd9e331052135a61713b..6f020cf563fe55328db59e26b44ba55a77fda190 100644
--- a/third_party/mojo/src/mojo/public/go/system/handle.go
+++ b/third_party/mojo/src/mojo/public/go/system/handle.go
@@ -61,7 +61,6 @@
}
type baseHandle struct {
- core *coreImpl
mojoHandle MojoHandle
}
@@ -70,9 +69,6 @@
}
func (h *baseHandle) Close() MojoResult {
- h.core.mu.Lock()
- defer h.core.mu.Unlock()
-
mojoHandle := h.mojoHandle
h.invalidate()
return MojoResult(C.MojoClose(mojoHandle.cValue()))
« no previous file with comments | « third_party/mojo/src/mojo/public/go/system/data_pipe.go ('k') | third_party/mojo/src/mojo/public/go/system/message_pipe.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698