Simple line layout alleviates the need for these memory savings.
Created attachment 233669 [details]
Comment on attachment 233669 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=233669&action=review
> + After Zalan's talks with Antti, it seems that the simple line layout code
Whoops. Looks like this was Kling.
Created attachment 233670 [details]
Comment on attachment 233670 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=233670&action=review
> +const unsigned cNoTruncation = UINT_MAX;
> +const unsigned cFullTruncation = UINT_MAX - 1;
We should take this opportunity to substitute the C++ idiom of std::numeric_limits<unsigned>::max() for UINT_MAX in these lines.