[webkit-changes] [WebKit/WebKit] 05d743: Address static analyzer warnings in EventLoop

Ryosuke Niwa noreply at github.com
Fri Feb 14 14:01:59 PST 2025


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

  Changed paths:
    M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
    M Source/WebCore/dom/EventLoop.cpp
    M Source/WebCore/dom/EventLoop.h
    M Source/WebCore/dom/WindowEventLoop.cpp
    M Source/WebCore/workers/WorkerEventLoop.cpp

  Log Message:
  -----------
  Address static analyzer warnings in EventLoop
https://bugs.webkit.org/show_bug.cgi?id=287618

Reviewed by Brady Eidson.

Addressed static analyzer warnings in EventLoop.cpp/h, WindowEventLoop.cpp,
and WorkerEventLoop.cpp.

* Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebCore/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations:
* Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations:
* Source/WebCore/dom/EventLoop.cpp:
(WebCore::EventLoopTaskGroup::markAsReadyToStop):
(WebCore::EventLoopTaskGroup::suspend):
(WebCore::EventLoopTaskGroup::resume):
(WebCore::EventLoopTaskGroup::adjustTimerNextFireTime):
(WebCore::EventLoopTaskGroup::adjustTimerRepeatInterval):
* Source/WebCore/dom/EventLoop.h:
* Source/WebCore/dom/WindowEventLoop.cpp:
(WebCore::WindowEventLoop::queueMutationObserverCompoundMicrotask):
(WebCore::WindowEventLoop::backupElementQueue):
(WebCore::WindowEventLoop::breakToAllowRenderingUpdate):
* Source/WebCore/workers/WorkerEventLoop.cpp:
(WebCore::WorkerEventLoop::scheduleToRun):
(WebCore::WorkerEventLoop::microtaskQueue):

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