TypingCommand helpers should take Document&.
Created attachment 213433 [details] Patch
Committed r156941: <http://trac.webkit.org/changeset/156941>