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 149969 e3e8c2f68c34ebfee942171cf4f53ab69f39025a
parent 149968 39f12e08186c02586b2dd4bfff83f70cd7f9e1df
child 149970 f32690a031a34d61749f861dd8d1336866f1dc65
push id2945
push userphilringnalda@gmail.com
push dateSun, 06 Oct 2013 00:41:24 +0000
treeherderfx-team@f191c70fcbfb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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,