Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 117ea5c2cd59670324664ec175f01596c68c8f43
      
https://github.com/WebKit/WebKit/commit/117ea5c2cd59670324664ec175f01596c68c8f43
  Author: Jessica Lee <[email protected]>
  Date:   2026-02-01 (Sun, 01 Feb 2026)

  Changed paths:
    M Source/WebCore/css/StyleSheetList.cpp
    M Source/WebCore/dom/ShadowRoot.cpp
    M Source/WebCore/dom/ShadowRoot.h

  Log Message:
  -----------
  Remove ShadowRoot::checkedStyleScope
https://bugs.webkit.org/show_bug.cgi?id=306677
rdar://169323246

Reviewed by Anne van Kesteren and Tim Nguyen.

We can remove ShadowRoot::checkedStyleScope and its usages because we are using 
the protect function() instead of dedicated checked & protected getters.

No new tests needed.

* Source/WebCore/css/StyleSheetList.cpp:
(WebCore::StyleSheetList::styleSheets const):
(WebCore::StyleSheetList::detach):
* Source/WebCore/dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::insertedIntoAncestor):
(WebCore::ShadowRoot::checkedStyleScope const): Deleted.
* Source/WebCore/dom/ShadowRoot.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to