See the patch.
Created attachment 413814 [details] Patch
Comment on attachment 413814 [details] Patch I think this patch is correct, but I would prefer if Carlos García or Miguel Gómez could take a look as well and rubber-stamp it :)
Committed r269721: <https://trac.webkit.org/changeset/269721> All reviewed patches have been landed. Closing bug and clearing flags on attachment 413814 [details].