Deprecate NGPhysicalConstraintSpace
This patch deprecates NGPhysicalConstraintSpace and changes the LayoutNG code to use NGConstraintSpace and its builder everywhere instead.
List of changes:
1) NGConstraintSpaceBuilder::ToConstraintSpace returns NGConstraintSpace
2) NGPhysicalConstraintSpace is removed
3) Introduced NGExclusions to store the list of exclusions and last left/right floating exclusions.
4) NGConstraintSpace constructor is moved to private, so NGConstraintSpace can be only created via its builder.
5) Switching between inline/block happens in NGConstraintSpaceBuilder::ToConstraintSpace
6) Exclusions is shared with shared_ptr. A new exclusions list is created if there is no parent_space or when a new FC is established.
BUG=635619
Review-Url: https://codereview.chromium.org/2525033002
Cr-Commit-Position: refs/heads/master@{#435712}
21 files changed