RESOLVED FIXED20761
Add a protected destructor for RefCounted
https://bugs.webkit.org/show_bug.cgi?id=20761
Summary Add a protected destructor for RefCounted
Alexey Proskuryakov
Reported 2008-09-10 02:02:31 PDT
It is wrong to call its destructor directly, because (1) this should be taken care of by deref(), and (2) many classes that use RefCounted have non-virtual destructors.
Attachments
proposed patch (1.05 KB, patch)
2008-09-10 02:04 PDT, Alexey Proskuryakov
eric: review+
Alexey Proskuryakov
Comment 1 2008-09-10 02:04:05 PDT
Created attachment 23315 [details] proposed patch
Eric Seidel (no email)
Comment 2 2008-09-12 12:24:11 PDT
Comment on attachment 23315 [details] proposed patch r=me
Alexey Proskuryakov
Comment 3 2008-09-17 23:51:20 PDT
Note You need to log in before you can comment on or make changes to this bug.