As a follow up of https://github.com/WebKit/WebKit/pull/15451#discussion_r1248318874, we need to implement a new method to extend the bounds of a FloatRect by a set of FloatPoints. This will replace multiple calls to FloatRect::extend() by a single call to the new method.
<rdar://problem/111939974>