Bug 1157898 part 5. Eliminate the remaining non-ErrorResult consumers of ErrorResult::ErrorCode and make it protected. r=peterv

This commit is contained in:
Boris Zbarsky
2015-04-27 09:18:52 -04:00
parent b4efb4ac71
commit 311cd550e2
16 changed files with 48 additions and 31 deletions

View File

@@ -176,7 +176,7 @@ HTMLOptionsCollection::SetOption(uint32_t aIndex,
nsCOMPtr<nsINode> node = do_QueryInterface(aOption);
ErrorResult res;
parent->ReplaceChild(*node, *refChild, res);
rv = res.ErrorCode();
rv = res.StealNSResult();
}
}