RESOLVED FIXED 44752
RefPtr documentation needs update
https://bugs.webkit.org/show_bug.cgi?id=44752
Summary RefPtr documentation needs update
Yuta Kitamura
Reported 2010-08-27 00:29:34 PDT
adoptRef assertion was turned on (bug 41547), but it seemed that we forgot to update RefPtr documentation (http://webkit.org/coding/RefPtr.html). For example, a few examples contains the following line: RefPtr<Node> a = new Node;
Attachments
Darin Adler
Comment 1 2010-08-27 10:10:36 PDT
That would work fine if Node is a reference counted class that does not derive from RefCounted. The new assertion is specific to RefCounted.
Darin Adler
Comment 2 2010-08-27 10:41:51 PDT
I made some changes in <http://trac.webkit.org/changeset/66233> that I think resolve this.
Note You need to log in before you can comment on or make changes to this bug.