Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm

We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
This commit is contained in:
Kan-Ru Chen
2016-11-15 04:26:00 +01:00
parent b4659e9e83
commit 1b9dd22e2d
404 changed files with 7108 additions and 6579 deletions

View File

@@ -75,11 +75,11 @@ JavaScriptChild::scopeForTargetObjects()
return xpc::PrivilegedJunkScope();
}
bool
mozilla::ipc::IPCResult
JavaScriptChild::RecvDropTemporaryStrongReferences(const uint64_t& upToObjId)
{
strongReferenceObjIdMinimum_ = upToObjId + 1;
return true;
return IPC_OK();
}
PJavaScriptChild*