Changeset 257568 in webkit


Ignore:
Timestamp:
Feb 27, 2020, 8:52:46 AM (5 years ago)
Author:
Alan Bujtas
Message:

Unreviewed build fix for non-unified builds after r257507.

  • layout/blockformatting/BlockFormattingContext.h:
  • layout/blockformatting/BlockMarginCollapse.cpp:

(WebCore::Layout::BlockFormattingContext::MarginCollapse::computedPositiveAndNegativeMargin const):
(WebCore::Layout::BlockFormattingContext::MarginCollapse::updateMarginAfterForPreviousSibling):
(WebCore::Layout::computedPositiveAndNegativeMargin): Deleted.

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r257566 r257568  
     12020-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
    1112020-02-27  Antti Koivisto  <antti@apple.com>
    212
  • trunk/Source/WebCore/layout/blockformatting/BlockFormattingContext.h

    r257507 r257568  
    135135        PositiveAndNegativeVerticalMargin::Values precomputedPositiveNegativeValues(const Box&, MarginType) const;
    136136
     137        PositiveAndNegativeVerticalMargin::Values computedPositiveAndNegativeMargin(PositiveAndNegativeVerticalMargin::Values, PositiveAndNegativeVerticalMargin::Values) const;
     138
    137139        bool hasClearance(const Box&) const;
    138140
  • trunk/Source/WebCore/layout/blockformatting/BlockMarginCollapse.cpp

    r257507 r257568  
    428428}
    429429
    430 static PositiveAndNegativeVerticalMargin::Values computedPositiveAndNegativeMargin(PositiveAndNegativeVerticalMargin::Values a, PositiveAndNegativeVerticalMargin::Values b)
     430PositiveAndNegativeVerticalMargin::Values BlockFormattingContext::MarginCollapse::computedPositiveAndNegativeMargin(PositiveAndNegativeVerticalMargin::Values a, PositiveAndNegativeVerticalMargin::Values b) const
    431431{
    432432    PositiveAndNegativeVerticalMargin::Values computedValues;
     
    492492        auto positiveNegativeMarginBefore = blockFormattingState.positiveAndNegativeVerticalMargin(*currentBox).before;
    493493
    494         previousSiblingPositiveNegativeMargin.after = computedPositiveAndNegativeMargin(positiveNegativeMarginBefore, previousSiblingPositiveNegativeMargin.after);
     494        previousSiblingPositiveNegativeMargin.after = marginCollapse.computedPositiveAndNegativeMargin(positiveNegativeMarginBefore, previousSiblingPositiveNegativeMargin.after);
    495495        if (marginsCollapseThrough) {
    496             previousSiblingPositiveNegativeMargin.before = computedPositiveAndNegativeMargin(previousSiblingPositiveNegativeMargin.before, previousSiblingPositiveNegativeMargin.after);
     496            previousSiblingPositiveNegativeMargin.before = marginCollapse.computedPositiveAndNegativeMargin(previousSiblingPositiveNegativeMargin.before, previousSiblingPositiveNegativeMargin.after);
    497497            previousSiblingPositiveNegativeMargin.after = previousSiblingPositiveNegativeMargin.before;
    498498        }
Note: See TracChangeset for help on using the changeset viewer.