Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9556da2412e5eb453a6a99acf7a0ef55c633f28f
https://github.com/WebKit/WebKit/commit/9556da2412e5eb453a6a99acf7a0ef55c633f28f
Author: Chris Dumez <[email protected]>
Date: 2023-03-07 (Tue, 07 Mar 2023)
Changed paths:
M Source/WebCore/animation/WebAnimationUtilities.cpp
Log Message:
-----------
Use more efficient treeOrder<>() in
compareDeclarativeAnimationOwningElementPositionsInDocumentTreeOrder()
https://bugs.webkit.org/show_bug.cgi?id=253521
Reviewed by Darin Adler.
Use more efficient treeOrder<>() in
compareDeclarativeAnimationOwningElementPositionsInDocumentTreeOrder()
instead of Node::compareDocumentPosition(), which is meant to be used by
JavaScript and has additional
cruft.
Also only call sortingIndex() when its result is actually used.
* Source/WebCore/animation/WebAnimationUtilities.cpp:
(WebCore::compareDeclarativeAnimationOwningElementPositionsInDocumentTreeOrder):
Canonical link: https://commits.webkit.org/261359@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes