Range constructors should take a Document&.
Created attachment 213553 [details] Patch
Created attachment 213554 [details] Patch
Created attachment 213555 [details] Patch
Committed r157018: <http://trac.webkit.org/changeset/157018>