[LayoutNG] Fix LayoutInlineTest.RegionHitTest

The unit test crashes in LayoutNG because LayoutInline::HitTestCulledInline()
requirs a non-null NGPaintFragment parameter. This patch passes the
correct fragments to the function so that the test case doesn't crash.

Note: There are some other issues related to list-based hit tests and
culled inlines revealed by this patch. They are left for future
investigation.

Bug: 922467
Change-Id: I86c4190330c976b5acd46e19fc0dac61c90d5eba
Reviewed-on: https://chromium-review.googlesource.com/c/1423664
Reviewed-by: Emil A Eklund <eae@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#624495}
1 file changed