Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h

Issue 2805283003: Inline algorithm should take into account the wrapper's clearance line. (Closed)
Patch Set: git rebase-update Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h
index ed46db7dfa458a48bb2d7831fa9f3ddbbf4f6e7a..649f6cbe1d576883b8224043e52c3a30fc076d3a 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h
@@ -19,6 +19,11 @@ namespace blink {
class NGConstraintSpace;
class NGLayoutResult;
+// Updates the fragment's BFC offset if it's not already set.
+void MaybeUpdateFragmentBfcOffset(const NGConstraintSpace&,
+ const NGLogicalOffset&,
+ NGFragmentBuilder* builder);
+
// A class for general block layout (e.g. a <div> with no special style).
// Lays out the children in sequence.
class CORE_EXPORT NGBlockLayoutAlgorithm
@@ -59,9 +64,6 @@ class CORE_EXPORT NGBlockLayoutAlgorithm
NGLogicalOffset CalculateLogicalOffset(
const WTF::Optional<NGLogicalOffset>& known_fragment_offset);
- // Updates the fragment's BFC offset if it's not already set.
- void UpdateFragmentBfcOffset(const NGLogicalOffset& offset);
-
NGFragmentBuilder builder_;
NGConstraintSpaceBuilder space_builder_;

Powered by Google App Engine
This is Rietveld 408576698