зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1750017 [Linux] Don't set shape mask to released drawable, r=lsalzman
Don't clear shape mask with XShapeCombineMask(), it's not needed and target darawable may be already deleted. Differential Revision: https://phabricator.services.mozilla.com/D136149
This commit is contained in:
Родитель
1237aba347
Коммит
ca729fdef1
|
@ -40,12 +40,6 @@ WindowSurfaceX11Image::WindowSurfaceX11Image(Display* aDisplay, Window aWindow,
|
|||
WindowSurfaceX11Image::~WindowSurfaceX11Image() {
|
||||
if (mTransparencyBitmap) {
|
||||
delete[] mTransparencyBitmap;
|
||||
|
||||
Display* xDisplay = mWindowSurface->XDisplay();
|
||||
Window xDrawable = mWindowSurface->XDrawable();
|
||||
|
||||
XShapeCombineMask(xDisplay, xDrawable, ShapeBounding, 0, 0, X11None,
|
||||
ShapeSet);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче