Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 741a55f3d6f1dda9857b4d20d45a9f9125af9426
      
https://github.com/WebKit/WebKit/commit/741a55f3d6f1dda9857b4d20d45a9f9125af9426
  Author: Ryosuke Niwa <[email protected]>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

  Changed paths:
    M Source/WebCore/platform/Timer.cpp
    M Source/WebCore/platform/Timer.h

  Log Message:
  -----------
  Timer::stop can short-circuit in most cases
https://bugs.webkit.org/show_bug.cgi?id=267746

Reviewed by Yusuke Suzuki and Darin Adler.

Add a fast path for when the timer isn't scheduled.

* Source/WebCore/platform/Timer.cpp:
(WebCore::TimerBase::stopSlowCase):
(WebCore::TimerBase::stop): Deleted.
* Source/WebCore/platform/Timer.h:
(WebCore::TimerBase::stop):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to