Fix uses of deprecated API
Created attachment 305504 [details] Patch
Committed r214428: <http://trac.webkit.org/changeset/214428>