Bug 923369 - Return true when RawDBusConnection::SendWithError() executed without any error, r=tzimmerman, r=qdot
authorEric Chou <echou@mozilla.com>
Sat, 05 Oct 2013 14:35:00 +0800
changeset 149967 e3e8c2f68c34ebfee942171cf4f53ab69f39025a
parent 149966 39f12e08186c02586b2dd4bfff83f70cd7f9e1df
child 149968 f32690a031a34d61749f861dd8d1336866f1dc65
push idunknown
push userunknown
push dateunknown
reviewerstzimmerman, qdot
bugs923369
milestone27.0a1
Bug 923369 - Return true when RawDBusConnection::SendWithError() executed without any error, r=tzimmerman, r=qdot
ipc/dbus/RawDBusConnection.cpp
--- a/ipc/dbus/RawDBusConnection.cpp
+++ b/ipc/dbus/RawDBusConnection.cpp
@@ -436,17 +436,17 @@ bool RawDBusConnection::SendWithError(DB
   if (!t->WaitForCompletion()) {
     return false;
   }
 
   if (aReply) {
     *aReply = t->GetReply();
   }
 
-  return false;
+  return true;
 }
 
 bool RawDBusConnection::SendWithError(DBusMessage** aReply,
                                       DBusError* aError,
                                       int aTimeout,
                                       const char* aPath,
                                       const char* aIntf,
                                       const char* aFunc,