Closed Bug 723525 Opened 12 years ago Closed 12 years ago

Mark classes final or add virtual destructor in content/*

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla13

People

(Reporter: espindola, Assigned: espindola)

Details

Attachments

(1 file)

Currently builds with --enable-warnings-as-errors are broken with clang because of the warning/error

error: delete called on 'fooBar' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]

This patch fixes some of them.
Attachment #593840 - Flags: review?(jmuizelaar)
Comment on attachment 593840 [details] [diff] [review]
Mark classes final or add virtual destructor in content/*

I'm not a content peer, so I'm probably not the best reviewer for this. That being said I've submitted patches like this before and have never received any negative feedback so it's probably safe.
Attachment #593840 - Flags: review?(jmuizelaar) → review+
https://hg.mozilla.org/mozilla-central/rev/f60a70c9120f
Assignee: nobody → respindola
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: