RESOLVED FIXED209894
HTMLFormElement should use WeakPtr to keep track of its associated elements
https://bugs.webkit.org/show_bug.cgi?id=209894
Summary HTMLFormElement should use WeakPtr to keep track of its associated elements
Ryosuke Niwa
Reported 2020-04-01 22:08:23 PDT
HTMLFormElement currently has raw pointers to FormAssociatedElement. Replace them with WeakPtr.
Attachments
Uses WeakPtr (22.62 KB, patch)
2020-04-01 22:19 PDT, Ryosuke Niwa
wenson_hsieh: review+
Ryosuke Niwa
Comment 1 2020-04-01 22:19:50 PDT
Created attachment 395244 [details] Uses WeakPtr
Ryosuke Niwa
Comment 2 2020-04-02 09:50:23 PDT
Ping reviewers.
Wenson Hsieh
Comment 3 2020-04-02 09:55:44 PDT
Comment on attachment 395244 [details] Uses WeakPtr View in context: https://bugs.webkit.org/attachment.cgi?id=395244&action=review > Source/WebCore/html/HTMLFormElement.cpp:890 > + Nit - extra newline here.
Ryosuke Niwa
Comment 4 2020-04-02 11:04:14 PDT
Radar WebKit Bug Importer
Comment 5 2020-04-02 11:05:16 PDT
Ryosuke Niwa
Comment 6 2020-04-02 11:07:29 PDT
(In reply to Wenson Hsieh from comment #3) > Comment on attachment 395244 [details] > Uses WeakPtr > > View in context: > https://bugs.webkit.org/attachment.cgi?id=395244&action=review > > > Source/WebCore/html/HTMLFormElement.cpp:890 > > + > > Nit - extra newline here. Oh oops, I missed that.
Ryosuke Niwa
Comment 7 2020-04-02 11:08:22 PDT
Note You need to log in before you can comment on or make changes to this bug.