RESOLVED FIXED 215913
TextManipulationController should use weak pointers to Node
https://bugs.webkit.org/show_bug.cgi?id=215913
Summary TextManipulationController should use weak pointers to Node
Ryosuke Niwa
Reported 2020-08-27 23:18:52 PDT
Now that https://trac.webkit.org/r266212 has been landed, use it in TextManipulationController.
Attachments
Use WeakHashSet (5.48 KB, patch)
2021-04-12 19:33 PDT, Ryosuke Niwa
no flags
Patch for landing (6.85 KB, patch)
2021-04-12 20:44 PDT, Ryosuke Niwa
no flags
Radar WebKit Bug Importer
Comment 1 2020-09-03 23:19:14 PDT
Ryosuke Niwa
Comment 2 2021-04-12 19:33:49 PDT
Created attachment 425823 [details] Use WeakHashSet
Ryosuke Niwa
Comment 3 2021-04-12 19:48:56 PDT
Comment on attachment 425823 [details] Use WeakHashSet View in context: https://bugs.webkit.org/attachment.cgi?id=425823&action=review > Source/WebCore/editing/TextManipulationController.cpp:934 > void TextManipulationController::removeNode(Node* node) I'll make this take Node& as we discussed.
Ryosuke Niwa
Comment 4 2021-04-12 20:44:52 PDT
Created attachment 425827 [details] Patch for landing
EWS
Comment 5 2021-04-12 21:19:24 PDT
Committed r275859 (236424@main): <https://commits.webkit.org/236424@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 425827 [details].
Note You need to log in before you can comment on or make changes to this bug.