[Webkit-unassigned] [Bug 136809] TYPE_CASTS_BASE needs to handle .get()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Sep 14 22:30:36 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=136809
Darin Adler <darin at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |darin at apple.com
--- Comment #1 from Darin Adler <darin at apple.com> 2014-09-14 22:30:38 PST ---
If we really want to make toXXX(RefPtr) give us a raw pointer, then I think toXXX(Ref) and toXXX(PassRef) should give use a raw reference. A good way to do that is to make a template that can take any type and use getPtr to turn the pointer into a raw pointer. That will work on all smart pointer types that we overload getPtr for. Similarly, we could create a getReference to make this generic across all smart reference types. I think that’s better than something specific to RefPtr.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list