Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: edc821880f856e6814483f6d5971b5f9cc9d4f1b https://github.com/WebKit/WebKit/commit/edc821880f856e6814483f6d5971b5f9cc9d4f1b Author: Ryan Reno <rr...@apple.com> Date: 2023-03-15 (Wed, 15 Mar 2023)
Changed paths: M Source/WTF/wtf/spi/cocoa/IOSurfaceSPI.h M Source/WebCore/platform/graphics/cocoa/IOSurface.mm Log Message: ----------- IOSurfaceGetID is public API https://bugs.webkit.org/show_bug.cgi?id=253973 rdar://106762871 Reviewed by Tim Horton. IOSurface::surfaceID was written before IOSurfaceGetID was available in the public SDK on all platforms. This removes the preprocessor platform checks and simply wraps IOSurfaceGetID. This also removes the now-redundant IOSurfaceID typedef from the SPI header. * Source/WebCore/platform/graphics/cocoa/IOSurface.mm: (WebCore::IOSurface::surfaceID const): * Source/WTF/wtf/spi/cocoa/IOSurfaceSPI.h: Canonical link: https://commits.webkit.org/261732@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes