Bug 777292 part 2 - Change all nsnull to nullptr

This commit is contained in:
Aryeh Gregor
2012-07-30 17:20:58 +03:00
parent 74aa5481e2
commit 8b4a23fc4c
2537 changed files with 23673 additions and 23673 deletions

View File

@@ -394,7 +394,7 @@ nsCommandLine::ResolveURI(const nsAString& aArgument, nsIURI* *aResult)
resolveShortcutURL(lf, url);
if (!url.IsEmpty()) {
return io->NewURI(url,
nsnull,
nullptr,
workingDirURI,
aResult);
}
@@ -403,7 +403,7 @@ nsCommandLine::ResolveURI(const nsAString& aArgument, nsIURI* *aResult)
}
return io->NewURI(NS_ConvertUTF16toUTF8(aArgument),
nsnull,
nullptr,
workingDirURI,
aResult);
}
@@ -627,11 +627,11 @@ nsCommandLine::Run()
{
nsresult rv;
rv = EnumerateValidators(EnumValidate, nsnull);
rv = EnumerateValidators(EnumValidate, nullptr);
if (rv == NS_ERROR_ABORT)
return rv;
rv = EnumerateHandlers(EnumRun, nsnull);
rv = EnumerateHandlers(EnumRun, nullptr);
if (rv == NS_ERROR_ABORT)
return rv;