summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/layout/ng/ng_page_layout_algorithm.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/ng/ng_page_layout_algorithm.h')
-rw-r--r--chromium/third_party/blink/renderer/core/layout/ng/ng_page_layout_algorithm.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/ng/ng_page_layout_algorithm.h b/chromium/third_party/blink/renderer/core/layout/ng/ng_page_layout_algorithm.h
index 62c49d87fb9..8491eaa198e 100644
--- a/chromium/third_party/blink/renderer/core/layout/ng/ng_page_layout_algorithm.h
+++ b/chromium/third_party/blink/renderer/core/layout/ng/ng_page_layout_algorithm.h
@@ -13,18 +13,15 @@ namespace blink {
class NGBlockNode;
class NGBlockBreakToken;
-class NGBreakToken;
class NGConstraintSpace;
-struct NGLogicalSize;
+struct LogicalSize;
class CORE_EXPORT NGPageLayoutAlgorithm
: public NGLayoutAlgorithm<NGBlockNode,
NGBoxFragmentBuilder,
NGBlockBreakToken> {
public:
- NGPageLayoutAlgorithm(NGBlockNode node,
- const NGConstraintSpace& space,
- const NGBreakToken* break_token = nullptr);
+ NGPageLayoutAlgorithm(const NGLayoutAlgorithmParams& params);
scoped_refptr<const NGLayoutResult> Layout() override;
@@ -33,7 +30,10 @@ class CORE_EXPORT NGPageLayoutAlgorithm
private:
NGConstraintSpace CreateConstraintSpaceForPages(
- const NGLogicalSize& size) const;
+ const LogicalSize& size) const;
+
+ NGBoxStrut border_padding_;
+ NGBoxStrut border_scrollbar_padding_;
};
} // namespace blink