[LayoutNG] Handle empty FragmentRange in PaintBackgroundBorderShadow
Update NGInlineBoxFragmentPainter::PaintBackgroundBorderShadow to safely handle cases where the FragmentRange is empty. This shouldn't happen but assuming the layout object has a single fragment in those cases is safe. Bug: 916948 Change-Id: I2e57b468a6d5137f843a61dbd9a02de117af3c20 Reviewed-on: https://chromium-review.googlesource.com/c/1396323Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#620010}
Showing
Please register or sign in to comment