Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 788945e084abf91faae2abaa485b37b99561394c https://github.com/WebKit/WebKit/commit/788945e084abf91faae2abaa485b37b99561394c Author: Abrar Rahman Protyasha <a_protya...@apple.com> Date: 2025-05-22 (Thu, 22 May 2025)
Changed paths: M Source/WebCore/platform/graphics/mac/PDFDocumentImageMac.mm Log Message: ----------- PDFDocumentImage::drawPDFPage() need not change the current NSGraphicsContext https://bugs.webkit.org/show_bug.cgi?id=293397 rdar://151815335 Reviewed by Sammy Gill. Following 295232@main, PDFKit is now provided with a CGContext to draw a page to. This patch drops our use of the LocalCurrentGraphicsContext scope setter since there is no longer a need to override the current NSGraphicsContext. Also, as a drive-by fix, remove some manual CGContext state management as a workaround to (now resolved) PDFKit bugs. * Source/WebCore/platform/graphics/mac/PDFDocumentImageMac.mm: (WebCore::PDFDocumentImage::drawPDFPage): Canonical link: https://commits.webkit.org/295263@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes