[webkit-changes] [WebKit/WebKit] 534741: Avoid virtual function calls for AnimationTimeline...
Chris Dumez
noreply at github.com
Wed Mar 22 21:41:52 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 53474172a408e3800b18ec3b4d559afd79586016
https://github.com/WebKit/WebKit/commit/53474172a408e3800b18ec3b4d559afd79586016
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-03-22 (Wed, 22 Mar 2023)
Changed paths:
M Source/WebCore/animation/AnimationTimeline.h
M Source/WebCore/animation/DocumentTimeline.h
Log Message:
-----------
Avoid virtual function calls for AnimationTimeline::isDocumentTimeline()
https://bugs.webkit.org/show_bug.cgi?id=254295
Reviewed by Ryosuke Niwa.
Avoid virtual function calls for AnimationTimeline::isDocumentTimeline().
DocumentTimeline is currently the only subclass of AnimationTimeline.
* Source/WebCore/animation/AnimationTimeline.h:
(WebCore::AnimationTimeline::isDocumentTimeline):
(WebCore::AnimationTimeline::isDocumentTimeline const): Deleted.
* Source/WebCore/animation/DocumentTimeline.h:
Canonical link: https://commits.webkit.org/262003@main
More information about the webkit-changes
mailing list