If the calculation of sizeInBytes in ShareableBitmap::createFromImagePixels() does not match ShareableBitmapConfiguration::sizeInBytes(), we should not copy the pixels of this CGImage. Otherwise ShareableBitmapConfiguration will falsely describe the data in the SharedMemory. In this case we should fallback to ShareableBitmap::createFromImageDraw().
rdar://108072383
Pull request: https://github.com/WebKit/WebKit/pull/12933
Committed 264021@main (58702859275c): <https://commits.webkit.org/264021@main> Reviewed commits have been landed. Closing PR #12933 and removing active labels.