[LayoutNG] Fork NGLineBreaker::HandleText() for min-content

This patch forks NGLineBreaker::HandleText() to a specialized
version for min-content.

Only the longest word in the text is relevant to min-content.
In order to avoid looping NGLineBreaker::NextLine as many
times as the number of lines for zero available width,
the new forked |HandleTextForFastMinContent()| creates one
line (NGInlineItemResult) for each text node which contains
the width of the longest word.

This patch improves:
  line-layout-fit-content.html: ~10%
  line-layout-fit-content-break-word.html: ~35%
in blink_perf.layout_ng:

loading.desktop_layout_ng looks mostly noise:

Bug: 919123
Change-Id: I502318928c811d2ecf7645c553ddb180c0424fdf
Reviewed-on: https://chromium-review.googlesource.com/c/1421420
Reviewed-by: Emil A Eklund <eae@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#625062}
4 files changed