Bug 215913 - TextManipulationController should use weak pointers to Node
Summary: TextManipulationController should use weak pointers to Node
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-08-27 23:18 PDT by Ryosuke Niwa
Modified: 2021-04-12 21:19 PDT (History)
8 users (show)

See Also:


Attachments
Use WeakHashSet (5.48 KB, patch)
2021-04-12 19:33 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff
Patch for landing (6.85 KB, patch)
2021-04-12 20:44 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2020-08-27 23:18:52 PDT
Now that https://trac.webkit.org/r266212 has been landed, use it in TextManipulationController.
Comment 1 Radar WebKit Bug Importer 2020-09-03 23:19:14 PDT
<rdar://problem/68325953>
Comment 2 Ryosuke Niwa 2021-04-12 19:33:49 PDT
Created attachment 425823 [details]
Use WeakHashSet
Comment 3 Ryosuke Niwa 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.
Comment 4 Ryosuke Niwa 2021-04-12 20:44:52 PDT
Created attachment 425827 [details]
Patch for landing
Comment 5 EWS 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].