Commit dbe8479
committed
Use adoptCF and RetainPtr in AXTextMarkerRange::AXTextMarkerRange
https://bugs.webkit.org/show_bug.cgi?id=290248
Reviewed by Geoffrey Garen.
Use adoptCf and RetainPtr instead of manually calling CFRelease.
* Source/WebCore/accessibility/cocoa/AXTextMarkerCocoa.mm:
(WebCore::AXTextMarkerRange::AXTextMarkerRange):
Canonical link: https://commits.webkit.org/292540@main1 parent 63678cd commit dbe8479
1 file changed
Lines changed: 4 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
| 134 | + | |
| 135 | + | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
| 137 | + | |
| 138 | + | |
142 | 139 | | |
143 | 140 | | |
144 | 141 | | |
| |||
0 commit comments