[Webkit-unassigned] [Bug 177817] Allow assigning WeakPtr<Derived> to WeakPtr<Base>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 3 08:38:20 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=177817

Geoffrey Garen <ggaren at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #322525|review?                     |review+
              Flags|                            |

--- Comment #5 from Geoffrey Garen <ggaren at apple.com> ---
Comment on attachment 322525
  --> https://bugs.webkit.org/attachment.cgi?id=322525
patch

r=me

Now that it's in five places, I think it's time to make a helper function that does the static_assert and reinterpret_cast on WeakReference<T>. Maybe call it static_weak_pointer_cast.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171003/76b0009e/attachment.html>


More information about the webkit-unassigned mailing list