[webkit-changes] [WebKit/WebKit] 4ab6b8: Adopt smart pointers to access DOMWindow

Rob Buis noreply at github.com
Mon Sep 2 10:54:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4ab6b81f9844255581741b984aae18cb8a037f95
      https://github.com/WebKit/WebKit/commit/4ab6b81f9844255581741b984aae18cb8a037f95
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2024-09-02 (Mon, 02 Sep 2024)

  Changed paths:
    M Source/WebCore/animation/AcceleratedTimeline.cpp
    M Source/WebCore/bindings/js/JSDocumentCustom.cpp
    M Source/WebCore/bindings/js/JSEventListener.h
    M Source/WebCore/bindings/js/ScriptController.cpp
    M Source/WebCore/dom/Node.cpp
    M Source/WebCore/inspector/agents/InspectorDOMAgent.cpp
    M Source/WebCore/inspector/agents/InspectorIndexedDBAgent.cpp
    M Source/WebCore/loader/DocumentLoader.cpp
    M Source/WebCore/style/StyleAdjuster.cpp
    M Source/WebCore/workers/service/ServiceWorkerClientData.cpp

  Log Message:
  -----------
  Adopt smart pointers to access DOMWindow
https://bugs.webkit.org/show_bug.cgi?id=279014

Reviewed by Chris Dumez.

Adopt smart pointers to access DOMWindow based
on [alpha.webkit.UncountedCallArgsChecker] and
[alpha.webkit.NoUncountedMemberChecker] warnings.

* Source/WebCore/animation/AcceleratedTimeline.cpp:
(WebCore::AcceleratedTimeline::AcceleratedTimeline):
* Source/WebCore/bindings/js/JSDocumentCustom.cpp:
(WebCore::cachedDocumentWrapper):
* Source/WebCore/bindings/js/JSEventListener.h:
(WebCore::windowEventHandlerAttribute):
(WebCore::setWindowEventHandlerAttribute):
* Source/WebCore/bindings/js/ScriptController.cpp:
(WebCore::ScriptController::executeScriptInWorld):
* Source/WebCore/dom/Node.cpp:
(WebCore::tryAddEventListener):
(WebCore::didRemoveEventListenerOfType):
* Source/WebCore/inspector/agents/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::getMediaStats):
* Source/WebCore/inspector/agents/InspectorIndexedDBAgent.cpp:
* Source/WebCore/loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::commitData):
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::adjustEventListenerRegionTypesForRootStyle):
* Source/WebCore/workers/service/ServiceWorkerClientData.cpp:
(WebCore::toServiceWorkerClientFrameType):

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



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


More information about the webkit-changes mailing list