Title: [287527] trunk/Source/WebCore
- Revision
- 287527
- Author
- [email protected]
- Date
- 2022-01-02 19:43:51 -0800 (Sun, 02 Jan 2022)
Log Message
[GTK] Unreviewed build fix after r287519
https://bugs.webkit.org/show_bug.cgi?id=234802
* layout/integration/InlineIteratorInlineBox.cpp:
(WebCore::InlineIterator::firstInlineBoxFor):
(WebCore::InlineIterator::firstRootInlineBoxFor):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (287526 => 287527)
--- trunk/Source/WebCore/ChangeLog 2022-01-03 02:22:42 UTC (rev 287526)
+++ trunk/Source/WebCore/ChangeLog 2022-01-03 03:43:51 UTC (rev 287527)
@@ -1,3 +1,12 @@
+2022-01-02 Diego Pino Garcia <[email protected]>
+
+ [GTK] Unreviewed build fix after r287519
+ https://bugs.webkit.org/show_bug.cgi?id=234802
+
+ * layout/integration/InlineIteratorInlineBox.cpp:
+ (WebCore::InlineIterator::firstInlineBoxFor):
+ (WebCore::InlineIterator::firstRootInlineBoxFor):
+
2022-01-02 Alan Bujtas <[email protected]>
[LFC][IFC] Add ASSERT(middle >= left && middle < right) to TextUtil::breakWord
Modified: trunk/Source/WebCore/layout/integration/InlineIteratorInlineBox.cpp (287526 => 287527)
--- trunk/Source/WebCore/layout/integration/InlineIteratorInlineBox.cpp 2022-01-03 02:22:42 UTC (rev 287526)
+++ trunk/Source/WebCore/layout/integration/InlineIteratorInlineBox.cpp 2022-01-03 03:43:51 UTC (rev 287527)
@@ -109,17 +109,19 @@
InlineBoxIterator firstInlineBoxFor(const RenderInline& renderInline)
{
+#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
if (auto* lineLayout = LayoutIntegration::LineLayout::containing(renderInline))
return lineLayout->firstInlineBoxFor(renderInline);
-
+#endif
return { BoxLegacyPath { renderInline.firstLineBox() } };
}
InlineBoxIterator firstRootInlineBoxFor(const RenderBlockFlow& block)
{
+#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
if (auto* lineLayout = block.modernLineLayout())
return lineLayout->firstRootInlineBox();
-
+#endif
return { BoxLegacyPath { block.firstRootBox() } };
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes