mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 22:37:50 +00:00
fixed really nasty allocation error.
This commit is contained in:
parent
c7b0e97ea0
commit
3511e53592
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user