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

Changeset 273306 in webkit


Ignore:
Timestamp:
Feb 23, 2021, 7:05:07 AM (6 years ago)
Author:
Diego Pino Garcia
Message:

Unreviewed, GTK Ubuntu LTS build fix after r273241

  • rendering/RenderBlockFlow.cpp:

(WebCore::RenderBlockFlow::invalidateLineLayoutPath): Function
modernLineLayout is only defined if ENABLE(LAYOUT_FORMATING_CONTEXT)

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r273302 r273306  
     12021-02-23  Diego Pino Garcia  <dpino@igalia.com>
     2
     3        Unreviewed, GTK Ubuntu LTS build fix after r273241
     4
     5        * rendering/RenderBlockFlow.cpp:
     6        (WebCore::RenderBlockFlow::invalidateLineLayoutPath): Function
     7        modernLineLayout is only defined if ENABLE(LAYOUT_FORMATING_CONTEXT)
     8
    192021-02-23  Frederic Wang  <fwang@igalia.com>
    210
  • trunk/Source/WebCore/rendering/RenderBlockFlow.cpp

    r273262 r273306  
    36363636    case ModernPath: {
    36373637        // FIXME: Implement partial invalidation.
    3638         auto path = modernLineLayout() && modernLineLayout()->shouldSwitchToLegacyOnInvalidation() ? ForceLineBoxesPath : UndeterminedPath;
     3638        auto path = UndeterminedPath;
     3639#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
     3640        if (modernLineLayout() && modernLineLayout()->shouldSwitchToLegacyOnInvalidation())
     3641            path = ForceLineBoxesPath;
     3642#endif
    36393643        m_lineLayout = WTF::Monostate();
    36403644        setLineLayoutPath(path);
Note: See TracChangeset for help on using the changeset viewer.