Storage of ComputedStyle separate from LayoutObject.
Part of stage 1 in separation of style resolution and
layout tree construction
Design doc: bit.ly/24nQ9UQ
Changes the Node::m_data DataUnion to now allow a ComputedStyle.
Updates Node flags with new flag HasLayoutObject to indicate whether
the DataUnion is a LayoutObject or a ComputedStyle. Adds new
hasLayoutObject method to check flag.
Updates ComputedStyle and Layoutobject getters and setters accordingly.
Written with nainar@
Originally landed as:
https://crrev.com/11af5b8769875ef50b16cb94d7eb758def0d9b08
but was reverted.
BUG=595137
Review-Url: https://codereview.chromium.org/1962953002
Cr-Commit-Position: refs/heads/master@{#411933}
7 files changed