Compile-time enforcement: Document's renderer is always a RenderView.
Created attachment 209648 [details]
Comment on attachment 209648 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=209648&action=review
> + 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>