RenderElement::isChildAllowed() should take const references.
<https://webkit.org/b/122870>

Reviewed by Anders Carlsson.

The isChildAllowed() functions expect non-null values to be passed,
so enforce this at compile-time.

Reordered some checks to do bit tests before virtual calls.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
26 files changed