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

Unified Diff: third_party/mojo/src/mojo/public/go/bindings/interface.go

Issue 1019173002: Update mojo sdk to rev 7214b7ec7d27563b2666afad86cf1c5895c56c18 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keep permission service alive if embedder drops requests Created 5 years, 9 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/bindings/interface.go
diff --git a/third_party/mojo/src/mojo/public/go/bindings/interface.go b/third_party/mojo/src/mojo/public/go/bindings/interface.go
index 9e449ad3f82f2a5034738d0074b2c6b986025e7b..e95324b5de4aabd82f08fc81a1586698f2284af8 100644
--- a/third_party/mojo/src/mojo/public/go/bindings/interface.go
+++ b/third_party/mojo/src/mojo/public/go/bindings/interface.go
@@ -5,6 +5,7 @@
package bindings
import (
+ "fmt"
"mojo/public/go/system"
)
@@ -60,7 +61,7 @@ type InterfacePointer struct {
func CreateMessagePipeForMojoInterface() (InterfaceRequest, InterfacePointer) {
r, h0, h1 := system.GetCore().CreateMessagePipe(nil)
if r != system.MOJO_RESULT_OK {
- panic("can't create a message pipe")
+ panic(fmt.Sprintf("can't create a message pipe: %v", r))
}
return InterfaceRequest{MessagePipeHandleOwner{h0}}, InterfacePointer{MessagePipeHandleOwner{h1}}
}
« no previous file with comments | « third_party/mojo/src/mojo/public/go/bindings/decoder.go ('k') | third_party/mojo/src/mojo/public/go/bindings/message.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698