Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ef70c59a7640833f5321a850fb89cf296721e06c
      
https://github.com/WebKit/WebKit/commit/ef70c59a7640833f5321a850fb89cf296721e06c
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-06-16 (Tue, 16 Jun 2026)

  Changed paths:
    M Source/WebCore/svg/animation/SVGSMILElement.cpp

  Log Message:
  -----------
  Clean up SVGSMILElement::findInstanceTime
https://bugs.webkit.org/show_bug.cgi?id=275725
rdar://130730896

Reviewed by Rob Buis.

Merge: https://chromium-review.googlesource.com/c/chromium/src/+/1400822

Use lambdas and iterators, handling the case where an instance time
equal to the request time is not a valid result in the predicate passed
to std::lower_bound().

There's theoretically a change in behavior where (for 'begin' times), we
could previously have returned the magic 'indefinite' value after
looking for the next larger instance time.

* Source/WebCore/svg/animation/SVGSMILElement.cpp:
(WebCore::SVGSMILElement::findInstanceTime const):
(WebCore::extractTimeFromVector): Deleted.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to