Compile-time enforcement: Document's renderer is always a RenderView.
Created attachment 209648 [details] "Patch"
Comment on attachment 209648 [details] "Patch" View in context: https://bugs.webkit.org/attachment.cgi?id=209648&action=review > Source/WebCore/dom/Document.h:1195 > + void setRenderer(RenderObject*) WTF_DELETED_FUNCTION; I suggest leaving out the argument: void setRenderer() WTF_DELETED_FUNCTION; Makes it even less likely someone can call it by accident in a compiler that doesn't support deleting functions.
Committed r154676: <http://trac.webkit.org/changeset/154676>