As per Bug 107657, we should start using the C API internally to avoid violating layering.
Created attachment 184466 [details] Patch
Created attachment 185044 [details] Patch Rebased on master.
Comment on attachment 185044 [details] Patch Clearing flags on attachment: 185044 Committed r141008: <http://trac.webkit.org/changeset/141008>
All reviewed patches have been landed. Closing bug.