commit | 20575e91a5024839400ccef1377c8ae147fcd96f | [log] [tgz] |
---|---|---|
author | danakj <danakj@chromium.org> | Wed Jan 23 16:25:01 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 23 16:25:01 2019 |
tree | 046423387e6a5256888d0641268760c79df47f38 | |
parent | 4d4a30d366cf48fd0864c8b6b8c662294f3685c7 [diff] |
Remove nullcheck from RenderWidget::SynchronizeVisualProperties Sync visual properties is only called in response to an IPC. The close IPC drops the IPC route before removing the WebWidget so IPCs can't arrive that would SynchronizeVisualProperties() after the WebWidget is gone. The one exception is the screen metrics emulator which can call it from its destructor, but it is also destroyed in CloseWebWidget() before the WebWidget is destroyed precisely to avoid these sorts of things (with a TODO about how to make that more clear..). R=avi@chromium.org Change-Id: I0621f4e3f4a708dd209b996129b9e17a765d6296 Bug: 912193 Reviewed-on: https://chromium-review.googlesource.com/c/1427881 Reviewed-by: Avi Drissman <avi@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#625219}
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 .