Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8fcb04d31876923074c2216c9c1855962b5cd88d
https://github.com/WebKit/WebKit/commit/8fcb04d31876923074c2216c9c1855962b5cd88d
Author: Chris Dumez <[email protected]>
Date: 2026-10-06 (Tue, 06 Oct 2026)
Changed paths:
M Source/WebCore/SaferCPPExpectations/NoUncountedMemberCheckerExpectations
M
Source/WebCore/platform/graphics/filters/software/FEConvolveMatrixSoftwareApplier.cpp
M
Source/WebCore/platform/graphics/filters/software/FEConvolveMatrixSoftwareApplier.h
M
Source/WebCore/platform/graphics/filters/software/FELightingSoftwareApplier.cpp
M
Source/WebCore/platform/graphics/filters/software/FELightingSoftwareApplier.h
M
Source/WebCore/platform/graphics/filters/software/FELightingSoftwareParallelApplier.cpp
M
Source/WebCore/platform/graphics/filters/software/FELightingSoftwareParallelApplier.h
M
Source/WebCore/platform/graphics/filters/software/FETurbulenceSoftwareApplier.h
Log Message:
-----------
Address Safer C++ warnings in the software filter appliers
https://bugs.webkit.org/show_bug.cgi?id=326438
Reviewed by Rupin Mittal.
Use Ref / RefPtr for the data members of the short-lived structs used by the
software filter appliers, and make them const where possible, which removes the
need for some protect() calls.
This tested as performance neutral on Speedometer and MotionMark.
* Source/WebCore/SaferCPPExpectations/NoUncountedMemberCheckerExpectations:
*
Source/WebCore/platform/graphics/filters/software/FEConvolveMatrixSoftwareApplier.cpp:
(WebCore::FEConvolveMatrixSoftwareApplier::setInteriorPixels):
*
Source/WebCore/platform/graphics/filters/software/FEConvolveMatrixSoftwareApplier.h:
*
Source/WebCore/platform/graphics/filters/software/FELightingSoftwareApplier.cpp:
(WebCore::FELightingSoftwareApplier::applyPlatform const):
(WebCore::FELightingSoftwareApplier::apply const):
* Source/WebCore/platform/graphics/filters/software/FELightingSoftwareApplier.h:
*
Source/WebCore/platform/graphics/filters/software/FELightingSoftwareParallelApplier.cpp:
(WebCore::FELightingSoftwareParallelApplier::applyPlatformWorker):
(WebCore::FELightingSoftwareParallelApplier::applyPlatformParallel const):
*
Source/WebCore/platform/graphics/filters/software/FELightingSoftwareParallelApplier.h:
*
Source/WebCore/platform/graphics/filters/software/FETurbulenceSoftwareApplier.h:
Canonical link: https://commits.webkit.org/322916@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications