Bug 143936

Summary: Update RefPtr documentation and deprecation
Product: WebKit Reporter: Darin Adler <darin>
Component: Web Template FrameworkAssignee: Darin Adler <darin>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, kling, koivisto, mjs, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch kling: review+

Darin Adler
Reported 2015-04-19 11:25:03 PDT
Update RefPtr documentation and deprecation
Attachments
Patch (33.54 KB, patch)
2015-04-19 11:27 PDT, Darin Adler
kling: review+
Darin Adler
Comment 1 2015-04-19 11:27:49 PDT
Darin Adler
Comment 2 2015-04-19 11:29:48 PDT
This is actually just a start; I had a hard time figuring out what to say in the documentation.
Andreas Kling
Comment 3 2015-04-19 17:28:16 PDT
Comment on attachment 251120 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=251120&action=review Thank you very much for these updates. r=me with some minor glitches fixed. > Websites/webkit.org/coding/RefPtr.html:115 > +<p>The title starts with a reference count of 1. The <span class="function">setTitle</span> function stores it in the data member, > +and the reference count is increments to 1. Then the local variable <span class="variable">untitledTitle</span> goes out of > +scope and the reference count is decremented back to 1.</p> is increments to 1 -> is incremented to 2 > Websites/webkit.org/coding/RefPtr.html:249 > +examine or modify the refernece count.</p> refernece -> reference > Websites/webkit.org/coding/RefPtr.html:333 > +Not all getters need to take an rvalue reference.</li> Not all getters -> Not all setters
Darin Adler
Comment 4 2015-04-19 21:43:49 PDT
Note You need to log in before you can comment on or make changes to this bug.