Bug 41374 - Rename releaseRef to leakRef
Summary: Rename releaseRef to leakRef
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Darin Adler
URL:
Keywords:
Depends on: 68672 71422 71423
Blocks: 41321
  Show dependency treegraph
 
Reported: 2010-06-29 14:18 PDT by Darin Adler
Modified: 2011-12-25 19:34 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2010-06-29 14:18:26 PDT
Rename the releaseRef function in PassRefPtr to leakRef. Might also want to add a leakRef function to RefPtr.
Comment 1 David Kilzer (:ddkilzer) 2010-09-27 14:59:21 PDT
There is also a releaseRef() method defined in RetainPtr.h.
Comment 2 Darin Adler 2010-09-27 15:01:51 PDT
JSRetainPtr.h, PassRefPtr.h, RetainPtr.h, and COMPtr.h all now have leakRef functions.

But many old call sites still are calling releaseRef, so we still have releaseRef functions in all of these classes that call over to leakRef.

Remaining work: Switch all the call sites to leakRef, and delete releaseRef functions entirely.