fixed up operator new usage

This commit is contained in:
kipp@netscape.com
1999-02-26 20:02:06 +00:00
parent 52469b45fa
commit 25591f64c4
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