diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/paint/table_section_painter.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/paint/table_section_painter.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/core/paint/table_section_painter.cc b/chromium/third_party/blink/renderer/core/paint/table_section_painter.cc index 6641f3e2275..374063ce4c3 100644 --- a/chromium/third_party/blink/renderer/core/paint/table_section_painter.cc +++ b/chromium/third_party/blink/renderer/core/paint/table_section_painter.cc @@ -19,6 +19,7 @@ #include "third_party/blink/renderer/core/paint/table_row_painter.h" #include "third_party/blink/renderer/platform/graphics/paint/display_item_cache_skipper.h" #include "third_party/blink/renderer/platform/graphics/paint/drawing_recorder.h" +#include "third_party/blink/renderer/platform/graphics/paint/scoped_display_item_fragment.h" namespace blink { @@ -43,11 +44,14 @@ void TableSectionPainter::Paint(const PaintInfo& paint_info) { return; } + unsigned fragment_index = 0; for (const auto* fragment = &layout_table_section_.FirstFragment(); fragment; fragment = fragment->NextFragment()) { PaintInfo fragment_paint_info = paint_info; fragment_paint_info.SetFragmentLogicalTopInFlowThread( fragment->LogicalTopInFlowThread()); + ScopedDisplayItemFragment scoped_display_item_fragment( + fragment_paint_info.context, fragment_index++); PaintSection(fragment_paint_info); } } |