From 3511e535924d108ca24fce3654066be080221dc6 Mon Sep 17 00:00:00 2001 From: "michaelp%netscape.com" Date: Thu, 13 Aug 1998 20:39:30 +0000 Subject: [PATCH] fixed really nasty allocation error. --- gfx/src/windows/nsRenderingContextWin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/src/windows/nsRenderingContextWin.cpp b/gfx/src/windows/nsRenderingContextWin.cpp index c31fd957d8b0..c9a576961ee6 100644 --- a/gfx/src/windows/nsRenderingContextWin.cpp +++ b/gfx/src/windows/nsRenderingContextWin.cpp @@ -377,7 +377,7 @@ nsresult nsRenderingContextWin :: Init(nsIDeviceContext* aContext, mContext = aContext; NS_IF_ADDREF(mContext); - mSurface = (nsDrawingSurfaceWin *)new nsRenderingContextWin(); + mSurface = (nsDrawingSurfaceWin *)new nsDrawingSurfaceWin(); if (nsnull != mSurface) {