Ignore:
Timestamp:
Nov 29, 2011, 10:03:13 PM (14 years ago)
Author:
[email protected]
Message:

Remove RetainPtr::releaseRef
https://bugs.webkit.org/show_bug.cgi?id=73396

Reviewed by Dan Bernstein.

../JavaScriptCore:

  • wtf/RetainPtr.h:

Be gone releaseRef! Long live leakRef!

../WebKit2:

  • Platform/mac/ModuleMac.mm:

(WebKit::Module::unload):
Replace the final use of RetainPtr::releaseRef() with RetainPtr::leakRef(),
its sexy replacement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/wtf/RetainPtr.h

    r101448 r101450  
    109109       
    110110        void swap(RetainPtr&);
    111 
    112         // FIXME: Remove releaseRef once we change all callers to call leakRef instead.
    113         PtrType releaseRef() { return leakRef(); }
    114111
    115112    private:
Note: See TracChangeset for help on using the changeset viewer.