In https://bugs.webkit.org/show_bug.cgi?id=57689 we extracted scoping functionality from Document into a separate class. This included selfOnlyRef (renamed to guardRef). Turns out, this was a bit premature - move this functionality back into Document.
Created attachment 88536 [details] Patch
Comment on attachment 88536 [details] Patch k.
Committed r83123: <http://trac.webkit.org/changeset/83123>