[webkit-changes] [WebKit/WebKit] fd416a: Deploy more smart pointers in ProcessThrottler.cpp

Ryosuke Niwa noreply at github.com
Wed Feb 5 08:58:00 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fd416a361064832043256acb4ea0dba7aaa010a0
      https://github.com/WebKit/WebKit/commit/fd416a361064832043256acb4ea0dba7aaa010a0
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2025-02-05 (Wed, 05 Feb 2025)

  Changed paths:
    M Source/WebKit/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
    M Source/WebKit/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations
    M Source/WebKit/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
    M Source/WebKit/UIProcess/ProcessThrottler.cpp
    M Source/WebKit/UIProcess/ProcessThrottler.h

  Log Message:
  -----------
  Deploy more smart pointers in ProcessThrottler.cpp
https://bugs.webkit.org/show_bug.cgi?id=287070

Reviewed by Chris Dumez.

Addressed smart pointer static analyzer warnings.

* Source/WebKit/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebKit/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations:
* Source/WebKit/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations:
* Source/WebKit/UIProcess/ProcessThrottler.cpp:
(WebKit::ProcessThrottler::invalidateAllActivities):
(WebKit::ProcessThrottler::setThrottleState):
(WebKit::ProcessThrottler::sendPrepareToSuspendIPC):
(WebKit::ProcessThrottler::clearAssertion):
(WebKit::ProcessThrottler::dropLastAssertion):
(WebKit::logActivityNames):
* Source/WebKit/UIProcess/ProcessThrottler.h:

Canonical link: https://commits.webkit.org/289873@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