[LayoutNG] Fixes small crash inside preferred widths

Desktop / Chromium - ikilpatrick [chromium.org] - 16 June 2017 17:19 EDT

We were previously trying to perform perferred width calculation on a non-LayoutNG layout object.

BUG=635619

Review-Url: https://codereview.chromium.org/2880993004 Cr-Commit-Position: refs/heads/master@{#480172}

e47fe16 [LayoutNG] Fixes small crash inside preferred widths.
.../enable-blink-features=LayoutNG | 1796 ++------------------
third_party/WebKit/LayoutTests/TestExpectations | 16 +-
.../WebKit/Source/core/layout/ng/ng_block_node.cc | 3 +-
3 files changed, 152 insertions(+), 1663 deletions(-)

Upstream: git.chromium.org


  • Share