Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 96650a507b89378bce11e14932053c8db757515f
https://github.com/WebKit/WebKit/commit/96650a507b89378bce11e14932053c8db757515f
Author: Sam Weinig <[email protected]>
Date: 2025-11-02 (Sun, 02 Nov 2025)
Changed paths:
M Source/WTF/WTF.xcodeproj/project.pbxproj
M Source/WTF/wtf/CMakeLists.txt
R Source/WTF/wtf/IteratorAdaptors.h
M Source/WebCore/css/calc/CSSCalcExecutor.h
M Source/WebKit/Shared/API/APIArray.h
Log Message:
-----------
[Modernization] Replace WTF::makeFilterIterator/WTF::makeTransformIterator
with std::views::filter/transform
https://bugs.webkit.org/show_bug.cgi?id=301826
Reviewed by Darin Adler.
Removes `WTF::makeFilterIterator`/`WTF::makeTransformIterator` and the
corresponding `FilterIterator` and `TransformIterator` types, and replaces
their usage with `std::views::filter` and `std::views::transform`.
Also removes `SizedTransformRange` in `CSSCalcExecutor`, which was a
variant of `TransformIterator`, and replaces it with `std::views::transform`.
* Source/WTF/WTF.xcodeproj/project.pbxproj:
* Source/WTF/wtf/CMakeLists.txt:
* Source/WTF/wtf/IteratorAdaptors.h: Removed.
* Source/WebCore/css/calc/CSSCalcExecutor.h:
* Source/WebKit/Shared/API/APIArray.h:
Canonical link: https://commits.webkit.org/302459@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications