It's really "renderTreeBeingDestroyed()", since the Document might just be going for a chill break in the PageCache.
Created attachment 304712 [details] Patch
Comment on attachment 304712 [details] Patch r=me smfr++
https://trac.webkit.org/changeset/214082