commit | 2ae8e4805cf3528619e05806e836a78d2c740e0b | [log] [tgz] |
---|---|---|
author | danakj <danakj@chromium.org> | Thu Jan 24 01:32:09 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 24 01:32:09 2019 |
tree | 09530c543e7c62a6d0c1f3f9ee1e8dd322f90ee1 | |
parent | 1a70719973246f3ac5c388a7be2b9a571f2da313 [diff] |
Remove conditional use of LayerTreeView from RenderWidget. The LayerTreeView is always present since we always composite RenderWidgets now (for many years ^_^). However, the LayerTreeView *is* removed during shutdown. Most places will not need to worry about this because OnClose() drops the IPC channel and most uses of LayerTreeView are in response to other IPCs. However a few cases involve calls from Blink which could still be active in between OnClose() and tearing down the RenderWidget+Blink, so in these cases early out if |closing_| which represents better conceptually what we're testing. TBR=avi@chromium.org Change-Id: Iff9133d9c69b327495f9290afcb471739124018b Bug: 912193 Reviewed-on: https://chromium-review.googlesource.com/c/1432132 Reviewed-by: danakj <danakj@chromium.org> Reviewed-by: Albert J. Wong <ajwong@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#625473}
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 .