Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9b508cf38c09ef26b0a0627a81801e42cef01fcd
https://github.com/WebKit/WebKit/commit/9b508cf38c09ef26b0a0627a81801e42cef01fcd
Author: Nikolas Zimmermann <[email protected]>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M Source/WebCore/rendering/svg/SVGContainerLayout.cpp
Log Message:
-----------
Cleanup SVGContainerLayout::layoutSizeOfNearestViewportChanged
https://bugs.webkit.org/show_bug.cgi?id=249139
Reviewed by Rob Buis.
- Avoid pointer dereferencing when using is<Foo>().
- Use dynamicDowncast<> instead of is<> + downcast<> pairs
No change in functionality, covered by existing tests.
* Source/WebCore/rendering/svg/SVGContainerLayout.cpp:
(WebCore::SVGContainerLayout::layoutSizeOfNearestViewportChanged const):
Canonical link: https://commits.webkit.org/258133@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes