Skip to content

Commit

Permalink
fix: prefer occluded rather than unloading layout info (#21751)
Browse files Browse the repository at this point in the history
Co-authored-by: loc <andy@slack-corp.com>
  • Loading branch information
2 people authored and zcbenz committed Jan 13, 2020
1 parent 757e7a9 commit 96cae44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/api/atom_api_browser_window.cc
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ void BrowserWindow::OnWindowShow() {
}

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

Expand Down

0 comments on commit 96cae44

Please sign in to comment.