Bug 246575 Drawing surface leak fix. r=thesuckiestemail@yahoo.se. No sr required - BeOS port-only change

This commit is contained in:
sergei_d%fi.tartu.ee 2004-06-14 17:09:32 +00:00
Родитель bf4e7cb5fc
Коммит b4ed4efce1
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -106,6 +106,7 @@ NS_IMETHODIMP nsRenderingContextBeOS::Init(nsIDeviceContext *aContext, nsDrawing
mContext = aContext;
NS_IF_ADDREF(mContext);
mSurface = (nsDrawingSurfaceBeOS *)aSurface;
mOffscreenSurface = mSurface;
NS_ADDREF(mSurface);
return (CommonInit());
}