Bug 784739 - Switch from NULL to nullptr in xpcom/ (2/3); r=ehsan

This commit is contained in:
Birunthan Mohanathas
2013-10-10 16:41:39 -04:00
parent 52e24d677b
commit d655a19190
34 changed files with 171 additions and 165 deletions

View File

@@ -37,14 +37,14 @@ NS_IMETHODIMP
GenericClassInfo::GetContractID(char** contractid)
{
NS_ERROR("GetContractID not implemented");
*contractid = NULL;
*contractid = nullptr;
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP
GenericClassInfo::GetClassDescription(char** description)
{
*description = NULL;
*description = nullptr;
return NS_ERROR_NOT_IMPLEMENTED;
}
@@ -52,7 +52,7 @@ NS_IMETHODIMP
GenericClassInfo::GetClassID(nsCID** classid)
{
NS_ERROR("GetClassID not implemented");
*classid = NULL;
*classid = nullptr;
return NS_ERROR_NOT_IMPLEMENTED;
}