ShareableBitmapConfiguration needs to hold the size of the ShareableBitmap so it can self calculate the sizeInBytes. Also it should hold and IPC the bitmap properties instead of calculating them every time they are needed. The caller should create ShareableBitmap only if sizeInBytes does not have overflow. So ShareableBitmapConfiguration does not have to return the bitmap properties in CheckedUint32 but just unsigned.
<rdar://problem/107567337>
This work is towards bug 254794.
Pull request: https://github.com/WebKit/WebKit/pull/12325
Committed 262547@main (ecd29c94a787): <https://commits.webkit.org/262547@main> Reviewed commits have been landed. Closing PR #12325 and removing active labels.