Bug 864775 - Build fix.
authorJosh Matthews <josh@joshmatthews.net>
Tue, 23 Apr 2013 18:05:06 +0200
changeset 140525 4676b8c35f46cf69769d289ec364983594e9b082
parent 140524 86018e20f5c88e38688dcd574ce5d06c27dc9ce5
child 140526 761a78c8ab0306c58b88eb5fef5f434e0cb11cf6
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs864775
milestone23.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 864775 - Build fix.
dom/network/src/TCPSocketChild.cpp
--- a/dom/network/src/TCPSocketChild.cpp
+++ b/dom/network/src/TCPSocketChild.cpp
@@ -133,17 +133,17 @@ TCPSocketChild::RecvCallback(const nsStr
                                    err.lineNumber(), err.columnNumber());
 
   } else if (aData.type() == CallbackData::TSendableData) {
     const SendableData& data = aData.get_SendableData();
 
     if (data.type() == SendableData::TArrayOfuint8_t) {
       JS::Value val;
       bool ok = IPC::DeserializeArrayBuffer(mSocketObj, data.get_ArrayOfuint8_t(), &val);
-      NS_ENSURE_TRUE(ok, NS_ERROR_FAILURE);
+      NS_ENSURE_TRUE(ok, true);
       rv = mSocket->CallListenerArrayBuffer(aType, val);
 
     } else if (data.type() == SendableData::TnsString) {
       rv = mSocket->CallListenerData(aType, data.get_nsString());
 
     } else {
       MOZ_NOT_REACHED("Invalid callback data type!");
     }