mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge most of it into RenderBox. Only RenderBoxes can have layers now. This also meant a bit of code could be cleaned up since some virtuals (e.g. updateFromStyle) are no longer needed since they're only called on RenderBoxes. collectSelfPaintingLayers is the only bit that's moved into RenderBoxModelObject instead of RenderBox. That's because we need to be able to recurse down into RenderInlines since they may contain RenderBoxes that have selfPaintingLayers. R=abarth@chromium.org Review URL: https://codereview.chromium.org/953673002