mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
fixed bug in ref counting on drawing surfaces in the rendering context.
This commit is contained in:
parent
dbc60847fd
commit
c68614adc1
@ -1076,6 +1076,7 @@ void nsRenderingContextWin :: DestroyDrawingSurface(nsDrawingSurface aDS)
|
||||
{
|
||||
mDC = mMainDC;
|
||||
mSurface = mMainSurface;
|
||||
NS_IF_ADDREF(mSurface);
|
||||
}
|
||||
|
||||
NS_IF_RELEASE(surf);
|
||||
|
Loading…
Reference in New Issue
Block a user