Implementation is the same for unix platforms.
Created attachment 92575 [details] Patch
Comment on attachment 92575 [details] Patch Excellent.
Committed r85951: <http://trac.webkit.org/changeset/85951>