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:
@@ -138,11 +138,7 @@ public:
|
||||
PageGrabber();
|
||||
~PageGrabber();
|
||||
|
||||
void* operator new(size_t size) {
|
||||
void* rv = ::operator new(size);
|
||||
nsCRT::zero(rv, size);
|
||||
return (void*) rv;
|
||||
}
|
||||
NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW
|
||||
|
||||
nsresult Init(const nsString& aDirectory);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user