Title: [283084] trunk/Source/WebCore
- Revision
- 283084
- Author
- [email protected]
- Date
- 2021-09-25 15:00:38 -0700 (Sat, 25 Sep 2021)
Log Message
Fix win build.
Unreviewed.
* layout/formattingContexts/inline/text/TextUtil.cpp:
(WebCore::Layout::TextUtil::width):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (283083 => 283084)
--- trunk/Source/WebCore/ChangeLog 2021-09-25 21:55:41 UTC (rev 283083)
+++ trunk/Source/WebCore/ChangeLog 2021-09-25 22:00:38 UTC (rev 283084)
@@ -1,3 +1,12 @@
+2021-09-25 Alan Bujtas <[email protected]>
+
+ Fix win build.
+
+ Unreviewed.
+
+ * layout/formattingContexts/inline/text/TextUtil.cpp:
+ (WebCore::Layout::TextUtil::width):
+
2021-09-25 Myles C. Maxfield <[email protected]>
Test palette animations
Modified: trunk/Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp (283083 => 283084)
--- trunk/Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp 2021-09-25 21:55:41 UTC (rev 283083)
+++ trunk/Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp 2021-09-25 22:00:38 UTC (rev 283084)
@@ -73,7 +73,7 @@
else {
WebCore::TextRun run(StringView(text).substring(from, to - from), contentLogicalLeft);
auto& style = inlineTextBox.style();
- if (!style.collapseWhiteSpace() && style.tabSize() > 0)
+ if (!style.collapseWhiteSpace() && style.tabSize())
run.setTabSize(true, style.tabSize());
width = fontCascade.width(run);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes