Move RenderObject::layout() to RenderElement.
<https://webkit.org/b/122537>

Reviewed by Antti Koivisto.

RenderText will ASSERT_NOT_REACHED() in its layout(), so move this
to RenderElement. This allows us to use the fast firstChild()
instead of virtual dispatch.

The needsLayout() bit remains on RenderObject for now. Moving that
to RenderElement is a far more involved change.


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