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 74365e488fe43b3c00cdcd0adb8695e4f5125797..0d7389af9b0b6bf563c31ab8be558794f5e6bb1a 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 |
@@ -40,6 +40,9 @@ class CORE_EXPORT NGBlockLayoutAlgorithm : public NGLayoutAlgorithm { |
RefPtr<NGPhysicalFragment> Layout() override; |
private: |
+ // Updates the fragment's BFC offset if it's not already set. |
ikilpatrick
2017/02/24 17:36:57
I might go through later and reorder everything so
Gleb Lanbin
2017/02/24 18:37:00
agree, I tried to organize things here (see "Read-
|
+ void UpdateFragmentBfcOffset(const NGLogicalOffset& offset); |
+ |
NGBoxStrut CalculateMargins(const NGConstraintSpace& space, |
const ComputedStyle& style); |