diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/paint/pre_paint_tree_walk.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/paint/pre_paint_tree_walk.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/core/paint/pre_paint_tree_walk.h b/chromium/third_party/blink/renderer/core/paint/pre_paint_tree_walk.h index fa95f4bd2fe..5ded2b4f51c 100644 --- a/chromium/third_party/blink/renderer/core/paint/pre_paint_tree_walk.h +++ b/chromium/third_party/blink/renderer/core/paint/pre_paint_tree_walk.h @@ -14,6 +14,7 @@ namespace blink { class LayoutObject; class LocalFrameView; +class NGFragmentChildIterator; // This class walks the whole layout tree, beginning from the root // LocalFrameView, across frame boundaries. Helper classes are called for each @@ -101,8 +102,13 @@ class CORE_EXPORT PrePaintTreeWalk { // very big stack frames. Splitting the heavy lifting to a separate function // makes sure the stack frame is freed prior to making a recursive call. // See https://crbug.com/781301 . - NOINLINE void WalkInternal(const LayoutObject&, PrePaintTreeWalkContext&); - void Walk(const LayoutObject&); + NOINLINE void WalkInternal(const LayoutObject&, + const NGFragmentChildIterator*, + PrePaintTreeWalkContext&); + void WalkNGChildren(const LayoutObject* parent, NGFragmentChildIterator*); + void WalkLegacyChildren(const LayoutObject&); + void WalkChildren(const LayoutObject*, const NGFragmentChildIterator*); + void Walk(const LayoutObject&, const NGFragmentChildIterator*); bool NeedsTreeBuilderContextUpdate(const LocalFrameView&, const PrePaintTreeWalkContext&); |