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:
@@ -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*
|
||||
|
||||
Reference in New Issue
Block a user