Bug 1128454 - Fix IPDL test (r=jimm)
authorBill McCloskey <billm@mozilla.com>
Mon, 13 Jul 2015 14:14:04 -0700
changeset 253105 f318375860fb474c72253ad802cf81860cca38ea
parent 253104 d9c0fa509aa08a9319d67c005bf0cbd3354dd067
child 253106 18d6d206080c612d1ad109a8f6c8c3affe01e53b
push id29061
push userryanvm@gmail.com
push dateThu, 16 Jul 2015 18:53:45 +0000
treeherdermozilla-central@a0f4a688433d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjimm
bugs1128454
milestone42.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1128454 - Fix IPDL test (r=jimm)
ipc/ipdl/test/cxx/TestBridgeMain.cpp
--- a/ipc/ipdl/test/cxx/TestBridgeMain.cpp
+++ b/ipc/ipdl/test/cxx/TestBridgeMain.cpp
@@ -128,17 +128,17 @@ TestBridgeSubParent::Main()
 {
     if (!SendPing())
         fail("sending Ping");
 }
 
 bool
 TestBridgeSubParent::RecvBridgeEm()
 {
-    if (!PTestBridgeMainSub::Bridge(gBridgeMainChild, this))
+    if (NS_FAILED(PTestBridgeMainSub::Bridge(gBridgeMainChild, this)))
         fail("bridging Main and Sub");
     return true;
 }
 
 void
 TestBridgeSubParent::ActorDestroy(ActorDestroyReason why)
 {
     if (NormalShutdown != why)