commit | 490c27babbe440762253c71c8ddc2438d3814d0e | [log] [tgz] |
---|---|---|
author | Julie Jeongeun Kim <jkim@igalia.com> | Sat Aug 11 03:37:47 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Aug 11 03:37:47 2018 |
tree | 4a60b160eba77f427c40252c99b46f02437081ea | |
parent | 4c172804c44cf480776c1acfb741e756bbf7cb1e [diff] |
Deliver bounds information to CreateTooltipWidget When 'CreateTooltipWidget' creates 'Widget' for tooltip and initializes it, it needs its bounds at InitParams. If it doesn't have the bounds information, some platform widgets get crashed and DesktopWindowTreeHostX11 keeps |sanitized_params| to avoid this case. This patch delivers the bounds for the tooltip widget and adds DCHECK to find what causes the empty bounds. Bug: 849585 Change-Id: I3de067a917e4343bab642c3a1b13434b6cfaeee0 Reviewed-on: https://chromium-review.googlesource.com/1086820 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Julie Jeongeun Kim <jkim@igalia.com> Cr-Commit-Position: refs/heads/master@{#582426}
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 .