Title: [268850] trunk/Source/WebCore
Revision
268850
Author
clo...@igalia.com
Date
2020-10-21 18:12:49 -0700 (Wed, 21 Oct 2020)

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (268849 => 268850)


--- trunk/Source/WebCore/ChangeLog	2020-10-22 00:46:20 UTC (rev 268849)
+++ trunk/Source/WebCore/ChangeLog	2020-10-22 01:12:49 UTC (rev 268850)
@@ -1,3 +1,13 @@
+2020-10-21  Carlos Alberto Lopez Perez  <clo...@igalia.com>
+
+        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.
+
 2020-10-21  Sam Weinig  <wei...@apple.com>
 
         Remove use of in-makefile grepping of FEATURE_AND_PLATFORM_DEFINES

Modified: trunk/Source/WebCore/rendering/RenderBox.cpp (268849 => 268850)


--- trunk/Source/WebCore/rendering/RenderBox.cpp	2020-10-22 00:46:20 UTC (rev 268849)
+++ trunk/Source/WebCore/rendering/RenderBox.cpp	2020-10-22 01:12:49 UTC (rev 268850)
@@ -409,10 +409,12 @@
     if (isOutOfFlowPositioned() && parent() && parent()->style().isDisplayFlexibleOrGridBox())
         clearOverrideContentSize();
 
+#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
     if (diff == StyleDifference::Layout) {
         if (auto* lineLayout = LayoutIntegration::LineLayout::containing(*this))
             lineLayout->updateStyle(*this);
     }
+#endif
 }
 
 void RenderBox::updateGridPositionAfterStyleChange(const RenderStyle& style, const RenderStyle* oldStyle)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to