[webkit-changes] [WebKit/WebKit] 457e3e: Use `FloatSize::diagonalLength` helper in `SVGAni...

Ahmad Saleem noreply at github.com
Thu Dec 26 16:02:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 457e3ef3b09e6eb435d91868cf0624a86d98994a
      https://github.com/WebKit/WebKit/commit/457e3ef3b09e6eb435d91868cf0624a86d98994a
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  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


More information about the webkit-changes mailing list