Fixes compilation error with sun workshop. Removed bogus case to
PRBool. r=akhil.arora@sun.com git-svn-id: svn://10.0.0.236/trunk@53937 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5a3213de7c
commit
56f3b0c295
@ -189,5 +189,5 @@ PRBool nsAllocator::FetchAllocator()
|
||||
{
|
||||
nsAllocatorImpl::Create(NULL, nsIAllocator::GetIID(), (void**)&mAllocator);
|
||||
NS_ASSERTION(mAllocator, "failed to get Allocator!");
|
||||
return (PRBool) mAllocator;
|
||||
return (mAllocator ? PR_TRUE : PR_FALSE);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user