commit | ea0d99ea4f289a7bf735edaed85bcb5f712507eb | [log] [tgz] |
---|---|---|
author | Fady Samuel <[email protected]> | Thu Sep 28 02:21:07 2017 |
committer | Commit Bot <[email protected]> | Thu Sep 28 02:21:07 2017 |
tree | 0fcbb2d0f782eceeeb70eb8384bbfbbc4f5f59e0 | |
parent | 86f6ae0fa5efc263aa6b6b820eed3b9b90b66c32 [diff] |
Surface synchronization: Simplify OOPIF and BrowserPlugin With CL 669444, if a primary SurfaceInfo is specified on a layer and no fallback is specified, then SurfaceAggregator will use an embedder provided default background color to fill the space of the primary Surface if the primary Surface is unavailable at surface aggregation time. Previously, SurfaceAggregator reported this case as an error and logged UMA for a missing surface. Given this state is no longer considered an error, there is room for simplifying code in BrowserPlugin and RenderFrameProxy. The default background color is set to SK_ColorTRANSPARENT to match the current behavior. The primary surface is set as soon as it can be and doesn't wait for the first fallback surface to become available. Bug: 672962 Change-Id: I0ec6153356978e8994b50bfd4a024369e6f320d7 Reviewed-on: https://chromium-review.googlesource.com/686354 Commit-Queue: Fady Samuel <[email protected]> Reviewed-by: Antoine Labour <[email protected]> Cr-Commit-Position: refs/heads/master@{#504869}
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 .