зеркало из https://github.com/mozilla/pjs.git
Bug 246575 Drawing surface leak fix. r=thesuckiestemail@yahoo.se. No sr required - BeOS port-only change
This commit is contained in:
Родитель
bf4e7cb5fc
Коммит
b4ed4efce1
|
@ -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());
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче