There are three identical implementations.
Created attachment 229495 [details] patch
http://trac.webkit.org/changeset/167398