[webkit-changes] [WebKit/WebKit] c73331: More smart pointers in webcore/platform/graphics
Gerald Squelart
noreply at github.com
Mon Oct 2 22:16:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c7333154762b59d651bcf94a5fafde7606ff747d
https://github.com/WebKit/WebKit/commit/c7333154762b59d651bcf94a5fafde7606ff747d
Author: Gerald Squelart <g_squelart at apple.com>
Date: 2023-10-02 (Mon, 02 Oct 2023)
Changed paths:
M Source/WebCore/loader/cache/CachedResourceLoader.h
M Source/WebCore/platform/graphics/BitmapImage.cpp
M Source/WebCore/platform/graphics/GradientImage.cpp
M Source/WebCore/platform/graphics/WebMResourceClient.cpp
M Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
M Source/WebCore/platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm
M Source/WebCore/platform/graphics/filters/FilterOperation.cpp
M Source/WebCore/platform/graphics/filters/software/FELightingSoftwareApplier.cpp
Log Message:
-----------
More smart pointers in webcore/platform/graphics
https://bugs.webkit.org/show_bug.cgi?id=262463
rdar://116322384
Reviewed by Chris Dumez.
Adding smart pointers as expected by clang static analyzer.
* Source/WebCore/loader/cache/CachedResourceLoader.h:
(WebCore::CachedResourceLoader::protectedDocument const):
* Source/WebCore/platform/graphics/BitmapImage.cpp:
(WebCore::BitmapImage::drawPattern):
* Source/WebCore/platform/graphics/GradientImage.cpp:
(WebCore::GradientImage::drawPattern):
* Source/WebCore/platform/graphics/WebMResourceClient.cpp:
(WebCore::WebMResourceClient::create):
* Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::paintWithVideoOutput):
* Source/WebCore/platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm:
(WebCore::PlatformResourceMediaLoader::create):
* Source/WebCore/platform/graphics/filters/FilterOperation.cpp:
(WebCore::ReferenceFilterOperation::loadExternalDocumentIfNeeded):
* Source/WebCore/platform/graphics/filters/software/FELightingSoftwareApplier.cpp:
(WebCore::FELightingSoftwareApplier::applyPlatform):
Canonical link: https://commits.webkit.org/268763@main
More information about the webkit-changes
mailing list