Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4f821a64c7fcdc4d0693f51b862e89e7d78e04dc
      
https://github.com/WebKit/WebKit/commit/4f821a64c7fcdc4d0693f51b862e89e7d78e04dc
  Author: Fujii Hironori <[email protected]>
  Date:   2026-01-11 (Sun, 11 Jan 2026)

  Changed paths:
    M 
Source/WebCore/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations
    M Source/WebCore/loader/WorkerThreadableLoader.cpp

  Log Message:
  -----------
  Make lambdas of WorkerThreadableLoader::MainThreadBridge safer
https://bugs.webkit.org/show_bug.cgi?id=305250

Reviewed by Chris Dumez.

Added protectedThis for the lambda captures.
<https://github.com/WebKit/WebKit/wiki/Safer-CPP-Guidelines>

* 
Source/WebCore/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations:
* Source/WebCore/loader/WorkerThreadableLoader.cpp:
(WebCore::WorkerThreadableLoader::MainThreadBridge::cancel):
(WebCore::WorkerThreadableLoader::MainThreadBridge::computeIsDone):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to