Use custom computed style instead of LayoutObjectIsNeeded.

Using display:none in the computed style in the UA shadow for native
appearance makes layout tree changes easier to detect than having to
know the LayoutObjectIsNeeded is going to return a different result.
This caused an issue in the WIP CL for unified computed style storage.

Bug: 914784
Change-Id: Icad9726c91972e9aca7566403cbe5650ea821c93
Reviewed-on: https://chromium-review.googlesource.com/c/1375736
Reviewed-by: Kent Tamura <tkent@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#616619}
2 files changed