Title: [273306] trunk/Source/WebCore
Revision
273306
Author
[email protected]
Date
2021-02-23 07:05:07 -0800 (Tue, 23 Feb 2021)

Log 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)

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (273305 => 273306)


--- trunk/Source/WebCore/ChangeLog	2021-02-23 14:34:38 UTC (rev 273305)
+++ trunk/Source/WebCore/ChangeLog	2021-02-23 15:05:07 UTC (rev 273306)
@@ -1,3 +1,11 @@
+2021-02-23  Diego Pino Garcia  <[email protected]>
+
+        Unreviewed, GTK Ubuntu LTS build fix after r273241
+
+        * rendering/RenderBlockFlow.cpp:
+        (WebCore::RenderBlockFlow::invalidateLineLayoutPath): Function
+        modernLineLayout is only defined if ENABLE(LAYOUT_FORMATING_CONTEXT)
+
 2021-02-23  Frederic Wang  <[email protected]>
 
         Nullptr crash in ModifySelectionListLevelCommand::appendSiblingNodeRange

Modified: trunk/Source/WebCore/rendering/RenderBlockFlow.cpp (273305 => 273306)


--- trunk/Source/WebCore/rendering/RenderBlockFlow.cpp	2021-02-23 14:34:38 UTC (rev 273305)
+++ trunk/Source/WebCore/rendering/RenderBlockFlow.cpp	2021-02-23 15:05:07 UTC (rev 273306)
@@ -3635,7 +3635,11 @@
         return;
     case ModernPath: {
         // FIXME: Implement partial invalidation.
-        auto path = modernLineLayout() && modernLineLayout()->shouldSwitchToLegacyOnInvalidation() ? ForceLineBoxesPath : UndeterminedPath;
+        auto path = UndeterminedPath;
+#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
+        if (modernLineLayout() && modernLineLayout()->shouldSwitchToLegacyOnInvalidation())
+            path = ForceLineBoxesPath;
+#endif
         m_lineLayout = WTF::Monostate();
         setLineLayoutPath(path);
         if (needsLayout())
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to