Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv

This patch was generated with the following command:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
This commit is contained in:
Boris Zbarsky
2015-04-27 09:18:51 -04:00
parent 861fe27450
commit 789a3bf96e
91 changed files with 442 additions and 442 deletions

View File

@@ -270,7 +270,7 @@ HTMLFormElement::Submit()
{
ErrorResult rv;
Submit(rv);
return rv.ErrorCode();
return rv.StealNSResult();
}
NS_IMETHODIMP