Closed Bug 779122 Opened 8 years ago Closed 8 years ago
XPCComponents _Utils::Recompute Wrappers returns bool instead of nsresult
Bug 773962 part 4 added nsXPCComponents_Utils::RecomputeWrappers, which was declared as returning NS_IMETHODIMP. But it returns the result of js::RecomputeWrappers, which returns a boolean, and/or the result of &&, which is also a boolean. If the method is called from JS, AFAIK, this is the same as always returning NS_OK, so how about you return NS_OK here instead?
sure, r=me on a patch that does that.
Assignee: bobbyholley+bmo → ayg
Target Milestone: --- → mozilla17
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.