fixed up operator new usage

git-svn-id: svn://10.0.0.236/trunk@22208 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1999-02-26 20:02:06 +00:00
parent 9c4f03aa39
commit 8334239104
27 changed files with 39 additions and 257 deletions

View File

@@ -130,11 +130,7 @@ public:
nsWebShell();
virtual ~nsWebShell();
void* operator new(size_t sz) {
void* rv = new char[sz];
nsCRT::zero(rv, sz);
return rv;
}
NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW
// nsISupports
NS_DECL_ISUPPORTS