[webkit-changes] [WebKit/WebKit] 3af129: [Cocoa] Fix reduntant calls to didChangeThrottleState

Miguel Salinas noreply at github.com
Mon Feb 20 19:20:35 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3af1290ef050a074b922d7908a86fd7c8ea91cfd
      https://github.com/WebKit/WebKit/commit/3af1290ef050a074b922d7908a86fd7c8ea91cfd
  Author: Miguel Salinas <miguel_salinas at apple.com>
  Date:   2023-02-20 (Mon, 20 Feb 2023)

  Changed paths:
    M Source/WebKit/UIProcess/ProcessThrottler.cpp

  Log Message:
  -----------
  [Cocoa] Fix reduntant calls to didChangeThrottleState
https://bugs.webkit.org/show_bug.cgi?id=252618
rdar://105692966

Reviewed by Chris Dumez.

We should not call didChangeThrottleState when the assertion will not
actually change.

* Source/WebKit/UIProcess/ProcessThrottler.cpp:
(WebKit::ProcessThrottler::setThrottleState):

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




More information about the webkit-changes mailing list