commit | 9c188784a37198fae60d767c557ffa21c85ba2a0 | [log] [tgz] |
---|---|---|
author | akling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Thu Oct 10 13:55:29 2013 +0000 |
committer | akling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Thu Oct 10 13:55:29 2013 +0000 |
tree | 84549bc3f285f9dc7a2deaf56ad362ddcc74b042 | |
parent | e347f2414484735c2f1aaacf2a4fa3463c8b5f73 [diff] |
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