Compute style to avoid crashes for layout tree building.
We don't have a repro for this, but there are crashes in the wild where we haven't got a ComputedStyle when attaching the layout tree for a UA shadow DOM element inside an HTML input element. Add a NOTREACHED to try to catch it, but fall back to compute the style to avoid crashes when it happens. Bug: 875796 Change-Id: I24ef78183df6faa6bfea88a7e5f8ad0d7f2bf14c Reviewed-on: https://chromium-review.googlesource.com/1182806 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Reviewed-by:Anders Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/master@{#584690}
Showing
Please register or sign in to comment