Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dcdcaa2af50264f757ce43956cb7f9b7aa5a2907
      
https://github.com/WebKit/WebKit/commit/dcdcaa2af50264f757ce43956cb7f9b7aa5a2907
  Author: Chris Dumez <cdu...@apple.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M Source/WebCore/css/CSSComputedStyleDeclaration.cpp
    M Source/WebCore/css/CSSComputedStyleDeclaration.h
    M Source/WebCore/dom/DOMImplementation.cpp
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h
    M Source/WebCore/editing/FrameSelection.cpp
    M Source/WebCore/loader/FrameLoader.cpp
    M Source/WebCore/loader/cache/CachedResourceLoader.cpp
    M Source/WebCore/page/Page.cpp
    M Source/WebCore/page/Page.h
    M Source/WebCore/svg/SVGDocument.cpp
    M Source/WebCore/svg/SVGPathElement.cpp

  Log Message:
  -----------
  Drop unnecessary `protectedSettings()` getters
https://bugs.webkit.org/show_bug.cgi?id=293716

Reviewed by Brady Eidson and Anne van Kesteren.

`settings()` is inlined and returns a const data member so `protectedSettings()`
is not necessary for safety.

* Source/WebCore/css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::protectedSettings const): Deleted.
* Source/WebCore/css/CSSComputedStyleDeclaration.h:
* Source/WebCore/dom/DOMImplementation.cpp:
(WebCore::DOMImplementation::createDocument):
(WebCore::DOMImplementation::createHTMLDocument):
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::parseHTMLUnsafe):
(WebCore::Document::protectedSettings const): Deleted.
* Source/WebCore/dom/Document.h:
(WebCore::Document::settings const):
* Source/WebCore/editing/FrameSelection.cpp:
(WebCore::FrameSelection::adjustSelectionExtentIfNeeded):
* Source/WebCore/loader/FrameLoader.cpp:
(WebCore::FrameLoader::checkLoadCompleteForThisFrame):
* Source/WebCore/loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::updateRequestAfterRedirection):
(WebCore::CachedResourceLoader::requestResource):
* Source/WebCore/page/Page.cpp:
(WebCore::Page::isDocumentFullscreenEnabled const):
(WebCore::Page::isAlwaysOnLoggingAllowed const):
(WebCore::Page::protectedSettings const): Deleted.
* Source/WebCore/page/Page.h:
(WebCore::Page::settings const):
* Source/WebCore/svg/SVGDocument.cpp:
(WebCore::SVGDocument::cloneDocumentWithoutChildren const):
* Source/WebCore/svg/SVGPathElement.cpp:
(WebCore::SVGPathElement::collectDPresentationalHint):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to