Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 457e3ef3b09e6eb435d91868cf0624a86d98994a
      
https://github.com/WebKit/WebKit/commit/457e3ef3b09e6eb435d91868cf0624a86d98994a
  Author: Ahmad Saleem <[email protected]>
  Date:   2024-12-26 (Thu, 26 Dec 2024)

  Changed paths:
    M Source/WebCore/svg/SVGAnimateMotionElement.cpp

  Log Message:
  -----------
  Use `FloatSize::diagonalLength` helper  in 
`SVGAnimateMotionElement::calculateDistance`
https://bugs.webkit.org/show_bug.cgi?id=285144
rdar://142020733

Reviewed by Fujii Hironori.

Inspired by: 
https://chromium.googlesource.com/chromium/src/+/2487ef029f5f7f6e3f6c5e4bc55212598ecb3e65

We can use `diagonalLength` helper directly here so let's use it.

* Source/WebCore/svg/SVGAnimateMotionElement.cpp:
(WebCore::SVGAnimateMotionElement::calculateDistance):

Canonical link: https://commits.webkit.org/288302@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to