Skip to content

Commit

Permalink
fix: prefer occluded rather than unloading layout info (#21585)
Browse files Browse the repository at this point in the history
  • Loading branch information
loc authored and zcbenz committed Jan 13, 2020
1 parent 19ef7a0 commit a0a9328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/api/atom_api_browser_window.cc
Expand Up @@ -440,7 +440,7 @@ void BrowserWindow::OnWindowShow() {
}

void BrowserWindow::OnWindowHide() {
web_contents()->WasHidden();
web_contents()->WasOccluded();
TopLevelWindow::OnWindowHide();
}

Expand Down

0 comments on commit a0a9328

Please sign in to comment.