Title: [275585] trunk/Source/WebCore
- Revision
- 275585
- Author
- za...@apple.com
- Date
- 2021-04-06 19:53:44 -0700 (Tue, 06 Apr 2021)
Log Message
[LFC][IFC] InlineFormattingState::shrinkToFit should shrink InlineItems too
https://bugs.webkit.org/show_bug.cgi?id=224258
Reviewed by Simon Fraser.
* layout/inlineformatting/InlineFormattingState.h:
(WebCore::Layout::InlineFormattingState::shrinkToFit):
* layout/integration/LayoutIntegrationCoverage.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (275584 => 275585)
--- trunk/Source/WebCore/ChangeLog 2021-04-07 01:32:14 UTC (rev 275584)
+++ trunk/Source/WebCore/ChangeLog 2021-04-07 02:53:44 UTC (rev 275585)
@@ -1,3 +1,14 @@
+2021-04-06 Zalan Bujtas <za...@apple.com>
+
+ [LFC][IFC] InlineFormattingState::shrinkToFit should shrink InlineItems too
+ https://bugs.webkit.org/show_bug.cgi?id=224258
+
+ Reviewed by Simon Fraser.
+
+ * layout/inlineformatting/InlineFormattingState.h:
+ (WebCore::Layout::InlineFormattingState::shrinkToFit):
+ * layout/integration/LayoutIntegrationCoverage.cpp:
+
2021-04-06 Jean-Yves Avenard <j...@apple.com>
Fix logic error in MediaMetadataInit
Modified: trunk/Source/WebCore/layout/inlineformatting/InlineFormattingState.h (275584 => 275585)
--- trunk/Source/WebCore/layout/inlineformatting/InlineFormattingState.h 2021-04-07 01:32:14 UTC (rev 275584)
+++ trunk/Source/WebCore/layout/inlineformatting/InlineFormattingState.h 2021-04-07 02:53:44 UTC (rev 275585)
@@ -95,6 +95,7 @@
inline void InlineFormattingState::shrinkToFit()
{
+ m_inlineItems.shrinkToFit();
m_lines.shrinkToFit();
m_lineBoxes.shrinkToFit();
m_lineRuns.shrinkToFit();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes