fixed bug in ref counting on drawing surfaces in the rendering context.

git-svn-id: svn://10.0.0.236/trunk@13521 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
michaelp%netscape.com 1998-10-27 00:09:44 +00:00
parent 4b9888f652
commit a62a32763e

View File

@ -1076,6 +1076,7 @@ void nsRenderingContextWin :: DestroyDrawingSurface(nsDrawingSurface aDS)
{
mDC = mMainDC;
mSurface = mMainSurface;
NS_IF_ADDREF(mSurface);
}
NS_IF_RELEASE(surf);