Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6539fb7bcbc54cde9a0112b6f24c948184545f10
https://github.com/WebKit/WebKit/commit/6539fb7bcbc54cde9a0112b6f24c948184545f10
Author: Anne van Kesteren <[email protected]>
Date: 2025-07-08 (Tue, 08 Jul 2025)
Changed paths:
M Source/WTF/wtf/OSObjectPtr.h
M Source/WTF/wtf/WorkQueue.h
M Source/WTF/wtf/cocoa/WorkQueueCocoa.cpp
M Source/WebCore/platform/graphics/cg/GraphicsContextCG.cpp
M Source/WebCore/platform/graphics/cg/GraphicsContextCG.h
M Source/WebKit/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations
M Source/WebKit/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
M Source/WebKit/SaferCPPExpectations/UnretainedCallArgsCheckerExpectations
M Source/WebKit/UIProcess/PDF/WKPDFHUDView.mm
M Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.h
M Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm
M Source/WebKit/WebProcess/Plugins/PDF/PDFPluginAnnotation.h
M Source/WebKit/WebProcess/Plugins/PDF/PDFPluginAnnotation.mm
M Source/WebKit/WebProcess/Plugins/PDF/PDFPluginBase.h
M Source/WebKit/WebProcess/Plugins/PDF/PDFPluginBase.mm
M
Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/PDFScrollingPresentationController.mm
M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.h
M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm
Log Message:
-----------
Reduce unsafeness in PDF code even more
https://bugs.webkit.org/show_bug.cgi?id=295577
Reviewed by Chris Dumez.
Apply https://github.com/WebKit/WebKit/wiki/Safer-CPP-Guidelines and
notably introduce lazyInitialize for OSObjectPtr so WorkQueue's
dispatchQueue() becomes "protected". And inline a couple things in
GraphicsContextCG so platformContext() becomes "protected".
Canonical link: https://commits.webkit.org/297117@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