Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 62439d6ff75ce918cff1584fde18e920eaac4901 https://github.com/WebKit/WebKit/commit/62439d6ff75ce918cff1584fde18e920eaac4901 Author: Kimmo Kinnunen <kkinnu...@apple.com> Date: 2023-10-06 (Fri, 06 Oct 2023)
Changed paths: M Source/WebCore/platform/cocoa/LocalCurrentGraphicsContext.h M Source/WebCore/platform/graphics/cocoa/GraphicsContextCocoa.mm M Source/WebCore/platform/graphics/mac/IconMac.mm M Source/WebCore/platform/graphics/mac/controls/ControlMac.mm M Source/WebCore/platform/graphics/mac/controls/MenuListButtonMac.mm M Source/WebCore/platform/graphics/mac/controls/ProgressBarMac.mm M Source/WebCore/platform/mac/ThemeMac.mm M Source/WebCore/rendering/RenderThemeMac.mm Log Message: ----------- AttachmentElement uses AppKit in WebContent process https://bugs.webkit.org/show_bug.cgi?id=262684 rdar://116509223 Reviewed by Aditya Keerthi. * Source/WebCore/rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::paintAttachment): Attachment painting is implemented using GraphicsContext. It should not set the AppKit NSGraphicsContext. If the rendering mode is GPUP, the LocalCurrentGraphicsContext is no-op since the context does not have a platform context. * Source/WebCore/platform/graphics/cocoa/GraphicsContextCocoa.mm: * Source/WebCore/platform/graphics/mac/controls/ControlMac.mm: (WebCore::ControlMac::drawListButton): * Source/WebCore/platform/graphics/mac/controls/MenuListButtonMac.mm: (WebCore::drawMenuListBackground): * Source/WebCore/platform/graphics/mac/controls/ProgressBarMac.mm: (WebCore::ProgressBarMac::draw): Remove use of ContextContainer, it is no-op code. Replace with direct GraphicsContext::platformContext() call. * Source/WebCore/platform/graphics/mac/IconMac.mm: * Source/WebCore/platform/mac/ThemeMac.mm: Remove unused LocalCurrentGraphicsContext.h include. Canonical link: https://commits.webkit.org/268978@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes