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:
parent
4b9888f652
commit
a62a32763e
@ -1076,6 +1076,7 @@ void nsRenderingContextWin :: DestroyDrawingSurface(nsDrawingSurface aDS)
|
||||
{
|
||||
mDC = mMainDC;
|
||||
mSurface = mMainSurface;
|
||||
NS_IF_ADDREF(mSurface);
|
||||
}
|
||||
|
||||
NS_IF_RELEASE(surf);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user