Title: [266531] trunk/Source/WebCore
- Revision
- 266531
- Author
- ddkil...@apple.com
- Date
- 2020-09-03 10:22:27 -0700 (Thu, 03 Sep 2020)
Log Message
REGRESSION (r237835): WebCore::TextDecorationThickness constructor fails to initialize m_length
<https://webkit.org/b/216092>
Reviewed by Tim Horton.
* rendering/style/TextDecorationThickness.h:
(WebCore::TextDecorationThickness):
- Add default initializer for m_length.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (266530 => 266531)
--- trunk/Source/WebCore/ChangeLog 2020-09-03 17:20:45 UTC (rev 266530)
+++ trunk/Source/WebCore/ChangeLog 2020-09-03 17:22:27 UTC (rev 266531)
@@ -1,3 +1,14 @@
+2020-09-03 David Kilzer <ddkil...@apple.com>
+
+ REGRESSION (r237835): WebCore::TextDecorationThickness constructor fails to initialize m_length
+ <https://webkit.org/b/216092>
+
+ Reviewed by Tim Horton.
+
+ * rendering/style/TextDecorationThickness.h:
+ (WebCore::TextDecorationThickness):
+ - Add default initializer for m_length.
+
2020-09-03 Alex Christensen <achristen...@webkit.org>
TextDecoder should ignore byte-order-mark like other browsers and spec
Modified: trunk/Source/WebCore/rendering/style/TextDecorationThickness.h (266530 => 266531)
--- trunk/Source/WebCore/rendering/style/TextDecorationThickness.h 2020-09-03 17:20:45 UTC (rev 266530)
+++ trunk/Source/WebCore/rendering/style/TextDecorationThickness.h 2020-09-03 17:22:27 UTC (rev 266531)
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2018 Apple Inc. All rights reserved.
+ * Copyright (C) 2018-2020 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -119,7 +119,7 @@
}
Type m_type;
- float m_length;
+ float m_length { 0 };
};
inline TextStream& operator<<(TextStream& ts, const TextDecorationThickness& thickness)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes