Skip to content
Browse files
-Wmismatched-new-delete warning spam from CSSStyleValue.h

Patch by Michael Catanzaro <> 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:
git-svn-id: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
mcatanzaro authored and webkit-commit-queue committed Jun 21, 2022
1 parent 305e43b commit c337b98
Showing 1 changed file with 4 additions and 0 deletions.
@@ -110,7 +110,11 @@ class CSSStyleValue : public RefCounted<CSSStyleValue>, public ScriptWrappable {
String toString() const;
virtual void serialize(StringBuilder&, OptionSet<SerializationArguments> = { }) const;

virtual ~CSSStyleValue() = default;

virtual CSSStyleValueType getType() const { return CSSStyleValueType::CSSStyleValue; }

0 comments on commit c337b98

Please sign in to comment.