Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4e3c3c6ebd612595bcadd3fa2129c89734eb8b51
      
https://github.com/WebKit/WebKit/commit/4e3c3c6ebd612595bcadd3fa2129c89734eb8b51
  Author: Anne van Kesteren <[email protected]>
  Date:   2025-04-14 (Mon, 14 Apr 2025)

  Changed paths:
    M Source/WTF/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations
    M Source/WTF/wtf/PrintStream.h
    M Source/WebCore/Modules/entriesapi/DOMFileSystem.cpp
    M Source/WebCore/Modules/entriesapi/FileSystemDirectoryEntry.cpp
    M Source/WebCore/Modules/entriesapi/FileSystemDirectoryReader.cpp
    M Source/WebCore/Modules/entriesapi/FileSystemEntry.cpp
    M Source/WebCore/Modules/entriesapi/FileSystemFileEntry.cpp
    M 
Source/WebCore/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations
    M Source/WebCore/css/CSSVariableReferenceValue.h
    M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp
    M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.h
    M Source/WebCore/workers/WorkerThread.cpp

  Log Message:
  -----------
  Reduce unsafe lambdas in WebCore/Modules/entriesapi and assorted
https://bugs.webkit.org/show_bug.cgi?id=291473

Reviewed by Chris Dumez.

As per Safer CPP Guidelines:

- 
https://github.com/WebKit/WebKit/wiki/Safer-CPP-Guidelines#capture-protectedthis-or-weakthis-in-asynchronous-lambdas-where-you-need-to-use-this
- 
https://github.com/WebKit/WebKit/wiki/Safer-CPP-Guidelines#annotate-noescape-when-a-function-uses-a-lambda-synchronously

* Source/WTF/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations:
* Source/WTF/wtf/PrintStream.h:
(WTF::PrintStream::atomically):
* Source/WebCore/Modules/entriesapi/DOMFileSystem.cpp:
(WebCore::DOMFileSystem::getEntry):
* Source/WebCore/Modules/entriesapi/FileSystemDirectoryEntry.cpp:
(WebCore::FileSystemDirectoryEntry::getEntry):
* Source/WebCore/Modules/entriesapi/FileSystemDirectoryReader.cpp:
(WebCore::FileSystemDirectoryReader::readEntries):
* Source/WebCore/Modules/entriesapi/FileSystemEntry.cpp:
(WebCore::FileSystemEntry::getParent):
* Source/WebCore/Modules/entriesapi/FileSystemFileEntry.cpp:
(WebCore::FileSystemFileEntry::file):
* 
Source/WebCore/SaferCPPExpectations/UncountedLambdaCapturesCheckerExpectations:
* Source/WebCore/css/CSSVariableReferenceValue.h:
(WebCore::CSSVariableReferenceValue::resolveAndCacheValue const):
* Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp:
(WebCore::CanvasRenderingContext2DBase::fillInternal):
(WebCore::CanvasRenderingContext2DBase::strokeInternal):
(WebCore::CanvasRenderingContext2DBase::didDraw):
* Source/WebCore/html/canvas/CanvasRenderingContext2DBase.h:
* Source/WebCore/workers/WorkerThread.cpp:
(WebCore::WorkerThread::createThread):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to