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.
Pull request: https://github.com/WebKit/WebKit/pull/11283
Committed 261440@main (a08f9d20cd53): <https://commits.webkit.org/261440@main> Reviewed commits have been landed. Closing PR #11283 and removing active labels.
<rdar://problem/106502986>
Reverted by https://github.com/WebKit/WebKit/pull/11328
Re-opening for pull request https://github.com/WebKit/WebKit/pull/11328
Committed 261475@main (7b7bf746e7bc): <https://commits.webkit.org/261475@main> Reviewed commits have been landed. Closing PR #11328 and removing active labels.
Re-opening for pull request https://github.com/WebKit/WebKit/pull/11365
Committed 261517@main (bbcee9c23927): <https://commits.webkit.org/261517@main> Reviewed commits have been landed. Closing PR #11365 and removing active labels.