[webkit-changes] [WebKit/WebKit] 853622: Use smart pointers when accessing Page
Rob Buis
noreply at github.com
Fri Sep 6 01:10:58 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8536229d1337a28e61aa58fa74bf73899352b96e
https://github.com/WebKit/WebKit/commit/8536229d1337a28e61aa58fa74bf73899352b96e
Author: Rob Buis <rbuis at igalia.com>
Date: 2024-09-06 (Fri, 06 Sep 2024)
Changed paths:
M Source/WebCore/Modules/async-clipboard/Clipboard.cpp
M Source/WebCore/Modules/websockets/ThreadableWebSocketChannel.cpp
M Source/WebCore/Modules/webxr/WebXRSession.cpp
M Source/WebCore/animation/DocumentTimelinesController.cpp
M Source/WebCore/dom/Node.cpp
M Source/WebCore/editing/Editor.cpp
M Source/WebCore/editing/cocoa/WebContentReaderCocoa.mm
M Source/WebCore/html/HTMLImageElement.cpp
M Source/WebCore/loader/CrossOriginAccessControl.cpp
M Source/WebCore/page/LocalFrameView.cpp
M Source/WebCore/platform/CaretAnimator.cpp
M Source/WebCore/rendering/HitTestResult.cpp
M Source/WebCore/storage/StorageEventDispatcher.cpp
M Source/WebCore/style/StyleTreeResolver.cpp
Log Message:
-----------
Use smart pointers when accessing Page
https://bugs.webkit.org/show_bug.cgi?id=279190
Reviewed by Chris Dumez.
Use smart pointers when accessing Page based on
the [alpha.webkit.UncountedLocalVarsChecker] warning.
* Source/WebCore/Modules/async-clipboard/Clipboard.cpp:
(WebCore::Clipboard::getType):
* Source/WebCore/Modules/websockets/ThreadableWebSocketChannel.cpp:
(WebCore::ThreadableWebSocketChannel::validateURL):
* Source/WebCore/Modules/webxr/WebXRSession.cpp:
(WebCore::WebXRSession::minimalUpdateRendering):
* Source/WebCore/animation/DocumentTimelinesController.cpp:
(WebCore::DocumentTimelinesController::updateAnimationsAndSendEvents):
* Source/WebCore/dom/Node.cpp:
(WebCore::Node::defaultEventHandler):
* Source/WebCore/editing/Editor.cpp:
(WebCore::Editor::pasteAsPlainText):
(WebCore::Editor::insertTextWithoutSendingTextEvent):
(WebCore::Editor::copyURL):
* Source/WebCore/editing/cocoa/WebContentReaderCocoa.mm:
(WebCore::WebContentReader::readURL):
* Source/WebCore/html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::~HTMLImageElement):
(WebCore::HTMLImageElement::setAllowsAnimation):
* Source/WebCore/loader/CrossOriginAccessControl.cpp:
(WebCore::createPotentialAccessControlRequest):
* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::viewportContentsChanged):
(WebCore::LocalFrameView::setViewExposedRect):
(WebCore::LocalFrameView::didStartScrollAnimation):
* Source/WebCore/platform/CaretAnimator.cpp:
(WebCore::CaretAnimator::scheduleAnimation):
* Source/WebCore/rendering/HitTestResult.cpp:
(WebCore::HitTestResult::hasEntireImage const):
(WebCore::HitTestResult::absoluteImageURL const):
(WebCore::HitTestResult::absoluteMediaURL const):
(WebCore::HitTestResult::absoluteLinkURL const):
* Source/WebCore/storage/StorageEventDispatcher.cpp:
(WebCore::dispatchStorageEvents):
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::PostResolutionCallbackDisabler::~PostResolutionCallbackDisabler):
Canonical link: https://commits.webkit.org/283255@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