mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 08:48:07 +00:00
Retain reference to offscreen drawing surface so we can release it when the context goes away. Bug 206561, author=Roland.Mainz@informatik.med.uni-giessen.de, r+sr=roc+moz
This commit is contained in:
parent
33cce84916
commit
befc9b2672
@ -214,6 +214,7 @@ nsRenderingContextXlib::Init(nsIDeviceContext* aContext, nsDrawingSurface aSurfa
|
||||
mDisplay = xxlib_rgb_get_display(mXlibRgbHandle);
|
||||
|
||||
mSurface = (nsIDrawingSurfaceXlib *)aSurface;
|
||||
mOffscreenSurface = mSurface;
|
||||
|
||||
return CommonInit();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user