Bug 253629
| Summary: | Use a WeakPtr for InlineCSSStyleDeclaration::m_parentElement | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
| Component: | DOM | Assignee: | Chris Dumez <cdumez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Chris Dumez
Use a WeakPtr for InlineCSSStyleDeclaration::m_parentElement. This is safer than keeping a raw pointer and avoids some work in the StyleElement destructor to clear this pointer.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/11283
EWS
Committed 261440@main (a08f9d20cd53): <https://commits.webkit.org/261440@main>
Reviewed commits have been landed. Closing PR #11283 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/106502986>
Chris Dumez
Reverted by https://github.com/WebKit/WebKit/pull/11328
Chris Dumez
Re-opening for pull request https://github.com/WebKit/WebKit/pull/11328
EWS
Committed 261475@main (7b7bf746e7bc): <https://commits.webkit.org/261475@main>
Reviewed commits have been landed. Closing PR #11328 and removing active labels.
Chris Dumez
Re-opening for pull request https://github.com/WebKit/WebKit/pull/11365
EWS
Committed 261517@main (bbcee9c23927): <https://commits.webkit.org/261517@main>
Reviewed commits have been landed. Closing PR #11365 and removing active labels.