IOSurfaceSPI.h contains a number of definitions which are public API on supported versions of Apple platforms which could be removed.
<rdar://problem/107427508>
Pull request: https://github.com/WebKit/WebKit/pull/12183
This built fine on Ventura debug but Monterey and iOS16 bots hated it. I guess we're not ready yet to do the simple delete code approach I took. I'll come back to this another time.