[webkit-changes] [WebKit/WebKit] bbcee9: Use a WeakPtr for InlineCSSStyleDeclaration::m_par...

Chris Dumez noreply at github.com
Fri Mar 10 11:42:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bbcee9c23927b10fdefe6de687b34770500882a6
      https://github.com/WebKit/WebKit/commit/bbcee9c23927b10fdefe6de687b34770500882a6
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-03-10 (Fri, 10 Mar 2023)

  Changed paths:
    M Source/WebCore/css/PropertySetCSSStyleDeclaration.h
    M Source/WebCore/dom/StyledElement.cpp

  Log Message:
  -----------
  Use a WeakPtr for InlineCSSStyleDeclaration::m_parentElement
https://bugs.webkit.org/show_bug.cgi?id=253629
rdar://106502986

Reviewed by Darin Adler.

Re-landing 261440 at main as it wasn't the cause of the Production build crashes.

* Source/WebCore/css/PropertySetCSSStyleDeclaration.h:
(WebCore::PropertySetCSSStyleDeclaration::clearParentElement): Deleted.
* Source/WebCore/dom/StyledElement.cpp:
(WebCore::StyledElement::~StyledElement): Deleted.

Canonical link: https://commits.webkit.org/261517@main




More information about the webkit-changes mailing list