Commit 8694fada authored by Adam Barth's avatar Adam Barth

Merge pull request #1101 from abarth/lockdown_virtual_viewport

Enable more asserts when building with virtual viewports
parents d46f0ceb 0033a8fc
......@@ -94,8 +94,7 @@ abstract class VirtualViewportElement<T extends VirtualViewport> extends RenderO
assert(startOffsetBase != null);
assert(startOffsetLimit != null);
_updatePaintOffset();
// TODO(abarth): Set building: true here.
BuildableElement.lockState(_materializeChildren);
BuildableElement.lockState(_materializeChildren, building: true);
}
Iterator<Widget> _iterator;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment