Title: [294471] trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp
- Revision
- 294471
- Author
- [email protected]
- Date
- 2022-05-19 02:16:10 -0700 (Thu, 19 May 2022)
Log Message
Remove dead code in handling of GridTrackEntryAutoRepeat in canInterpolate
https://bugs.webkit.org/show_bug.cgi?id=240620
Patch by Kiet Ho <[email protected]> on 2022-05-19
Reviewed by Tim Nguyen.
No new tests, no changes in behavior.
* Source/WebCore/animation/CSSPropertyAnimation.cpp:
(WebCore::canInterpolate):
Canonical link: https://commits.webkit.org/250733@main
Modified Paths
Diff
Modified: trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp (294470 => 294471)
--- trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp 2022-05-19 07:39:24 UTC (rev 294470)
+++ trunk/Source/WebCore/animation/CSSPropertyAnimation.cpp 2022-05-19 09:16:10 UTC (rev 294471)
@@ -624,12 +624,8 @@
return false;
const auto& toEntry = std::get<GridTrackEntryRepeat>(to[i]);
return repeat.repeats == toEntry.repeats && repeat.list.size() == toEntry.list.size();
- }, [&](const GridTrackEntryAutoRepeat& repeat) {
+ }, [&](const GridTrackEntryAutoRepeat&) {
return false;
- if (!std::holds_alternative<GridTrackEntryAutoRepeat>(to[i]))
- return false;
- const auto& toEntry = std::get<GridTrackEntryAutoRepeat>(to[i]);
- return repeat.type == toEntry.type && repeat.list.size() == toEntry.list.size();
}, [&](const GridTrackEntrySubgrid&) {
return false;
});
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes