fix: prefer occluded rather than unloading layout info (#21585)
This commit is contained in:
parent
19ef7a0fc9
commit
a0a932826c
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ void BrowserWindow::OnWindowShow() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void BrowserWindow::OnWindowHide() {
|
void BrowserWindow::OnWindowHide() {
|
||||||
web_contents()->WasHidden();
|
web_contents()->WasOccluded();
|
||||||
TopLevelWindow::OnWindowHide();
|
TopLevelWindow::OnWindowHide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue