This follows the refactor in <http://trac.webkit.org/changeset/42446> where some methods moved from Document to Window. Need to update accordingly.
Created attachment 29776 [details] Rename method to fix compile breakage
Landed as http://trac.webkit.org/changeset/42919.