As their corresponding FIXMEs state, these functions are nearly identical, and this logic should be shared.
Created attachment 358300 [details] Patch
Comment on attachment 358300 [details] Patch Clearing flags on attachment: 358300 Committed r239627: <https://trac.webkit.org/changeset/239627>
All reviewed patches have been landed. Closing bug.
<rdar://problem/47053815>