[webkit-changes] [WebKit/WebKit] 35296e: StyleRuleCSSStyleDeclaration should use RefCounted...

Alex Christensen noreply at github.com
Wed Jul 19 10:34:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 35296e904fb2aa582e24b156559458cdd04a77e0
      https://github.com/WebKit/WebKit/commit/35296e904fb2aa582e24b156559458cdd04a77e0
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M Source/WebCore/css/CSSComputedStyleDeclaration.cpp
    M Source/WebCore/css/CSSComputedStyleDeclaration.h
    M Source/WebCore/css/CSSRuleList.cpp
    M Source/WebCore/css/CSSRuleList.h
    M Source/WebCore/css/CSSStyleSheet.cpp
    M Source/WebCore/css/PropertySetCSSStyleDeclaration.cpp
    M Source/WebCore/css/PropertySetCSSStyleDeclaration.h
    M Source/WebCore/rendering/RenderWidget.cpp
    M Source/WebCore/rendering/RenderWidget.h

  Log Message:
  -----------
  StyleRuleCSSStyleDeclaration should use RefCounted instead of re-implementing the same thing
https://bugs.webkit.org/show_bug.cgi?id=258087
rdar://110795757

Reviewed by Chris Dumez.

Do the same thing with a few other classes.
No change in behavior.

* Source/WebCore/css/PropertySetCSSStyleDeclaration.cpp:
(WebCore::StyleRuleCSSStyleDeclaration::StyleRuleCSSStyleDeclaration):
(WebCore::StyleRuleCSSStyleDeclaration::ref): Deleted.
(WebCore::StyleRuleCSSStyleDeclaration::deref): Deleted.
* Source/WebCore/css/PropertySetCSSStyleDeclaration.h:

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




More information about the webkit-changes mailing list