[webkit-changes] [WebKit/WebKit] 907c98: BackgroundProcessResponsivenessTimer should have C...

Ryosuke Niwa noreply at github.com
Mon Aug 28 10:34:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 907c98fd7174fa186998e53c6c759451de9450e0
      https://github.com/WebKit/WebKit/commit/907c98fd7174fa186998e53c6c759451de9450e0
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2023-08-28 (Mon, 28 Aug 2023)

  Changed paths:
    M Source/WebKit/UIProcess/BackgroundProcessResponsivenessTimer.cpp
    M Source/WebKit/UIProcess/BackgroundProcessResponsivenessTimer.h

  Log Message:
  -----------
  BackgroundProcessResponsivenessTimer should have CheckedRef of WebProcessProxy
https://bugs.webkit.org/show_bug.cgi?id=260783

Reviewed by Chris Dumez.

Use CheckedRef of WebProcessProxy in place of a raw reference.

* Source/WebKit/UIProcess/BackgroundProcessResponsivenessTimer.cpp:
(WebKit::BackgroundProcessResponsivenessTimer::protectedWebProcessProxy const):
(WebKit::BackgroundProcessResponsivenessTimer::responsivenessCheckTimerFired):
(WebKit::BackgroundProcessResponsivenessTimer::timeoutTimerFired):
(WebKit::BackgroundProcessResponsivenessTimer::setResponsive):
(WebKit::BackgroundProcessResponsivenessTimer::shouldBeActive const):
(WebKit::BackgroundProcessResponsivenessTimer::client const):
* Source/WebKit/UIProcess/BackgroundProcessResponsivenessTimer.h:

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




More information about the webkit-changes mailing list