Changeset 257568 in webkit
- Timestamp:
- Feb 27, 2020, 8:52:46 AM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r257566 r257568 1 2020-02-27 Zalan Bujtas <zalan@apple.com> 2 3 Unreviewed build fix for non-unified builds after r257507. 4 5 * layout/blockformatting/BlockFormattingContext.h: 6 * layout/blockformatting/BlockMarginCollapse.cpp: 7 (WebCore::Layout::BlockFormattingContext::MarginCollapse::computedPositiveAndNegativeMargin const): 8 (WebCore::Layout::BlockFormattingContext::MarginCollapse::updateMarginAfterForPreviousSibling): 9 (WebCore::Layout::computedPositiveAndNegativeMargin): Deleted. 10 1 11 2020-02-27 Antti Koivisto <antti@apple.com> 2 12 -
trunk/Source/WebCore/layout/blockformatting/BlockFormattingContext.h
r257507 r257568 135 135 PositiveAndNegativeVerticalMargin::Values precomputedPositiveNegativeValues(const Box&, MarginType) const; 136 136 137 PositiveAndNegativeVerticalMargin::Values computedPositiveAndNegativeMargin(PositiveAndNegativeVerticalMargin::Values, PositiveAndNegativeVerticalMargin::Values) const; 138 137 139 bool hasClearance(const Box&) const; 138 140 -
trunk/Source/WebCore/layout/blockformatting/BlockMarginCollapse.cpp
r257507 r257568 428 428 } 429 429 430 static PositiveAndNegativeVerticalMargin::Values computedPositiveAndNegativeMargin(PositiveAndNegativeVerticalMargin::Values a, PositiveAndNegativeVerticalMargin::Values b) 430 PositiveAndNegativeVerticalMargin::Values BlockFormattingContext::MarginCollapse::computedPositiveAndNegativeMargin(PositiveAndNegativeVerticalMargin::Values a, PositiveAndNegativeVerticalMargin::Values b) const 431 431 { 432 432 PositiveAndNegativeVerticalMargin::Values computedValues; … … 492 492 auto positiveNegativeMarginBefore = blockFormattingState.positiveAndNegativeVerticalMargin(*currentBox).before; 493 493 494 previousSiblingPositiveNegativeMargin.after = computedPositiveAndNegativeMargin(positiveNegativeMarginBefore, previousSiblingPositiveNegativeMargin.after);494 previousSiblingPositiveNegativeMargin.after = marginCollapse.computedPositiveAndNegativeMargin(positiveNegativeMarginBefore, previousSiblingPositiveNegativeMargin.after); 495 495 if (marginsCollapseThrough) { 496 previousSiblingPositiveNegativeMargin.before = computedPositiveAndNegativeMargin(previousSiblingPositiveNegativeMargin.before, previousSiblingPositiveNegativeMargin.after);496 previousSiblingPositiveNegativeMargin.before = marginCollapse.computedPositiveAndNegativeMargin(previousSiblingPositiveNegativeMargin.before, previousSiblingPositiveNegativeMargin.after); 497 497 previousSiblingPositiveNegativeMargin.after = previousSiblingPositiveNegativeMargin.before; 498 498 }
Note:
See TracChangeset
for help on using the changeset viewer.