⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 268850 in webkit


Ignore:
Timestamp:
Oct 21, 2020, 6:12:49 PM (6 years ago)
Author:
clopez@igalia.com
Message:

REGRESSION(r268798): Fix build without ENABLE_LAYOUT_FORMATTING_CONTEXT
https://bugs.webkit.org/show_bug.cgi?id=218017

Unreviewed build-fix.

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::styleDidChange): Add missing ifdef guards.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r268849 r268850  
     12020-10-21  Carlos Alberto Lopez Perez  <clopez@igalia.com>
     2
     3        REGRESSION(r268798): Fix build without ENABLE_LAYOUT_FORMATTING_CONTEXT
     4        https://bugs.webkit.org/show_bug.cgi?id=218017
     5
     6        Unreviewed build-fix.
     7
     8        * rendering/RenderBox.cpp:
     9        (WebCore::RenderBox::styleDidChange): Add missing ifdef guards.
     10
    1112020-10-21  Sam Weinig  <weinig@apple.com>
    212
  • trunk/Source/WebCore/rendering/RenderBox.cpp

    r268798 r268850  
    410410        clearOverrideContentSize();
    411411
     412#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
    412413    if (diff == StyleDifference::Layout) {
    413414        if (auto* lineLayout = LayoutIntegration::LineLayout::containing(*this))
    414415            lineLayout->updateStyle(*this);
    415416    }
     417#endif
    416418}
    417419
Note: See TracChangeset for help on using the changeset viewer.