commit | 27ac690d2b92b3fe1635036c1035db5c37d5abe9 | [log] [tgz] |
---|---|---|
author | Saman Sami <samans@chromium.org> | Wed Nov 14 18:14:14 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Nov 14 18:14:14 2018 |
tree | 8f70406f8a37dc78ae72de0c78a4e36335678386 | |
parent | e8fcf79a7d21f178daf27a1d467d1431bc0bed85 [diff] |
Hack for demo screensaver disappearing momentarily after login There is an existing bug in Chrome OS where the screensaver is told to hide even though it's still visible. Before crrev.com/c/1277826 this used to only cause a freeze, but since then the screensaver disappears altogether. The reason is that during the first 10-20 seconds after logging into Chrome OS, there are 30+ renderers spawned in the background that don't actually draw anything. These renderers overwhelm FrameEvictionManager such that any renderer that goes hidden (e.g. the screensaver) will have its surface immediately evicted. This used to work fine before because notifying FrameEvictionManager used to happen in OnFirstSurfaceActivation as opposed to EmbedSurface, and therefore these useless renderers would not interfere with frame eviction. The Chrome OS team is worried they won't have a proper fix in time, so for the time being implement a behaviour similar to what we had before: only report DelegatedFrameHosts to FrameEvictionManager that have seen their first surface activation. Bug: 900373 Change-Id: Ic98929f8e1c834de2af22aa299805395be6a9072 Reviewed-on: https://chromium-review.googlesource.com/c/1334590 Commit-Queue: Saman Sami <samans@chromium.org> Reviewed-by: Fady Samuel <fsamuel@chromium.org> Cr-Commit-Position: refs/heads/master@{#608041}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .