Title: [295692] trunk/Source/WebCore/css/typedom/CSSStyleValue.h
- Revision
- 295692
- Author
- [email protected]
- Date
- 2022-06-21 15:00:27 -0700 (Tue, 21 Jun 2022)
Log Message
-Wmismatched-new-delete warning spam from CSSStyleValue.h
https://bugs.webkit.org/show_bug.cgi?id=241516
Patch by Michael Catanzaro <[email protected]> on 2022-06-21
Reviewed by Chris Dumez.
I cannot find any reason behind this warning. Mismatched new/delete is
very serious if true, but in this case, I just do not see it. If we are
doing something wrong, it must be somehow related to the iso heap, but
don't think we are.
* Source/WebCore/css/typedom/CSSStyleValue.h:
Canonical link: https://commits.webkit.org/251697@main
Modified Paths
Diff
Modified: trunk/Source/WebCore/css/typedom/CSSStyleValue.h (295691 => 295692)
--- trunk/Source/WebCore/css/typedom/CSSStyleValue.h 2022-06-21 21:50:42 UTC (rev 295691)
+++ trunk/Source/WebCore/css/typedom/CSSStyleValue.h 2022-06-21 22:00:27 UTC (rev 295692)
@@ -110,7 +110,11 @@
public:
String toString() const;
virtual void serialize(StringBuilder&, OptionSet<SerializationArguments> = { }) const;
+
+IGNORE_GCC_WARNINGS_BEGIN("mismatched-new-delete")
+ // https://webkit.org/b/241516
virtual ~CSSStyleValue() = default;
+IGNORE_GCC_WARNINGS_END
virtual CSSStyleValueType getType() const { return CSSStyleValueType::CSSStyleValue; }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes