UpdateStyleAndLayoutTree before opening InternalPopupMenu.
InternalPopupMenu ensures the ComputedStyle of some elements, via InternalPopupMenu::AddElementStyle, HTMLSelectElement::ItemComputedStyle. This hits a DHCECK in Element::EnsureComputedStyle, because the tree is apparently not style-clean at that time. R=fergal@chromium.org Bug: 934035 Change-Id: I7c48690d06484c6bbce4e2dad952e2edd73fa231 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1482891 Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Reviewed-by:Kent Tamura <tkent@chromium.org> Reviewed-by:
Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#637653}
Showing
Please register or sign in to comment