commit | 9c64616cc5fdb5a9328a7b9e0f439b03ebc2ffdd | [log] [tgz] |
---|---|---|
author | Benoît Lizé <lizeb@chromium.org> | Tue Dec 04 11:26:05 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 04 11:26:05 2018 |
tree | d9bf034fc1cf18e805f7fedd1d7d9d2c96e1122c | |
parent | fd37a283aa63e98cc360f712629e02c5e0efa65b [diff] |
blink/bindings: Handle foreground OnPurgeMemory() signals. OnPurgeMemory() happens in case of memory pressure, and also when a renderer has been backgrounded for some time. If received while in foreground, then we should reduce memory footprint as much as possible. To that end: - Park all parkable strings - Drop all compressed representation from strings that cannot be parked. Bug: 877044 Change-Id: I6119fbf64f4954a9abe3b8466f7e7cbdff807e8f Reviewed-on: https://chromium-review.googlesource.com/c/1348061 Commit-Queue: Benoit L <lizeb@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Cr-Commit-Position: refs/heads/master@{#613509}
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 .