For conforming to our coding rules, |result| of nsresult variants should be renamed to |rv|. MozReview-Commit-ID: Bk8CyLAnvXQ --HG-- extra : rebase_source : dd3dc34a032f22abf3fd7f85556b47ffbeec55b2