const Foo foo; auto weakFoo = makeWeakPtr(foo); should work.
Created attachment 347638 [details] patch
Comment on attachment 347638 [details] patch r=me
Comment on attachment 347638 [details] patch Clearing flags on attachment: 347638 Committed r235129: <https://trac.webkit.org/changeset/235129>
All reviewed patches have been landed. Closing bug.
<rdar://problem/43571796>
Reverted r235129 for reason: broke internal builds Committed r235258: <https://trac.webkit.org/changeset/235258>
Created attachment 347996 [details] patch
Created attachment 347999 [details] patch
Comment on attachment 347999 [details] patch Clearing flags on attachment: 347999 Committed r235315: <https://trac.webkit.org/changeset/235315>