Walk render tree instead of render layers for paint.
This is the first step of getting rid of RenderLayer. Instead of walking the RenderLayer tree, wall the RenderObject tree and add any layers encountered to a vector to paint later. This patch just consolidates and move the code from RenderLayer to RenderBox and then changes the children painting to iterate over the vector. Therefore we walk the RenderObject tree. We still call out to RenderLayer in a bunch of places. A followup patch will get rid of those. R=esprehn@chromium.org Review URL: https://codereview.chromium.org/899753003
Showing
想要评论请 注册 或 登录