Bug 1742421 - fix lint failures. r=fix

This commit is contained in:
Iulian Moraru 2022-01-19 04:06:43 +02:00
parent b7b7c16e0a
commit a7e6810a71

View file

@ -2362,7 +2362,7 @@ void nsWindow::SetSizeModeInternal(nsSizeMode aMode, nsIScreen* aFullscreenTarge
// also cache dimensions for restoration, so it should only
// be called once per fullscreen request.
nsBaseWidget::InfallibleMakeFullScreen(requestedFullscreen, aFullscreenTarget);
if (mIsVisible && aMode != nsSizeMode_Minimized) {
DispatchFocusToTopLevelWindow(true);
}