зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1784336 [Linux] Don't resume compositor if mCompositorWidgetDelegate is missing r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D154785
This commit is contained in:
Родитель
dd80638572
Коммит
ed73cbe3bf
|
@ -5463,9 +5463,14 @@ void nsWindow::ConfigureCompositor() {
|
|||
LOG(" quit, mIsDestroyed = %d mIsMapped = %d", mIsDestroyed, mIsMapped);
|
||||
return;
|
||||
}
|
||||
|
||||
// Compositor will be resumed later by ResumeCompositorFlickering().
|
||||
if (mCompositorState == COMPOSITOR_PAUSED_FLICKERING) {
|
||||
LOG(" quit, will be resumed by ResumeCompositorFlickering.");
|
||||
return;
|
||||
}
|
||||
// Compositor will be resumed at nsWindow::SetCompositorWidgetDelegate().
|
||||
if (!mCompositorWidgetDelegate) {
|
||||
LOG(" quit, missing mCompositorWidgetDelegate");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче