When passing ImageOrientation::None to any drawImage() function, srcRect and imageRect have to be calculated with this orientation. There are few places where the size of the image is calculated with ImageOrientation::FromImage because it is the default.
Created attachment 396140 [details] Patch
Committed r260016: <https://trac.webkit.org/changeset/260016> All reviewed patches have been landed. Closing bug and clearing flags on attachment 396140 [details].
<rdar://problem/61720495>
This was reverted in r260989.
It was reinstated in: Committed r261162: <https://trac.webkit.org/changeset/261162>