[webkit-changes] [WebKit/WebKit] 6e7557: Adopt more smart pointers in DocumentLoader.cpp
Rob Buis
noreply at github.com
Mon Sep 16 09:08:51 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6e75576f8042553cc09b75466d2a74be77e31873
https://github.com/WebKit/WebKit/commit/6e75576f8042553cc09b75466d2a74be77e31873
Author: Rob Buis <rbuis at igalia.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)
Changed paths:
M Source/WebCore/loader/DocumentLoader.cpp
Log Message:
-----------
Adopt more smart pointers in DocumentLoader.cpp
https://bugs.webkit.org/show_bug.cgi?id=276420
Reviewed by Chris Dumez.
Adopt more smart pointers in DocumentLoader.cpp, specifically
accessing FrameLoader using a smart pointer where the called
method (or indirectly called methods) is not trivial.
* Source/WebCore/loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::setRequest):
(WebCore::DocumentLoader::setMainDocumentError):
(WebCore::DocumentLoader::mainReceivedError):
(WebCore::DocumentLoader::stopLoading):
(WebCore::DocumentLoader::commitIfReady):
(WebCore::DocumentLoader::notifyFinished):
(WebCore::DocumentLoader::finishedLoading):
(WebCore::DocumentLoader::willSendRequest):
(WebCore::DocumentLoader::doCrossOriginOpenerHandlingOfResponse):
(WebCore::DocumentLoader::tryLoadingSubstituteData):
(WebCore::DocumentLoader::stopLoadingAfterXFrameOptionsOrContentSecurityPolicyDenied):
(WebCore::DocumentLoader::responseReceived):
(WebCore::DocumentLoader::continueAfterContentPolicy):
(WebCore::DocumentLoader::commitLoad):
(WebCore::DocumentLoader::interruptedForPolicyChangeError const):
(WebCore::DocumentLoader::commitData):
(WebCore::DocumentLoader::dataReceived):
(WebCore::DocumentLoader::setupForReplace):
(WebCore::DocumentLoader::clearMainResourceLoader):
(WebCore::DocumentLoader::isLoadingInAPISense const):
(WebCore::DocumentLoader::setTitle):
(WebCore::DocumentLoader::maybeLoadEmpty):
(WebCore::DocumentLoader::startLoadingMainResource):
(WebCore::DocumentLoader::loadMainResource):
(WebCore::DocumentLoader::cancelPolicyCheckIfNeeded):
(WebCore::DocumentLoader::cancelMainResourceLoad):
(WebCore::DocumentLoader::maybeFinishLoadingMultipartContent):
(WebCore::DocumentLoader::handleProvisionalLoadFailureFromContentFilter):
(WebCore::DocumentLoader::handleContentFilterDidBlock):
Canonical link: https://commits.webkit.org/283703@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