Commit 7fb70ecc authored by Adam Barth's avatar Adam Barth

Merge pull request #1191 from abarth/always_composting

RenderPerformanceOverlay needs alwaysNeedsCompositing
parents 41b8c988 00359a4f
......@@ -67,6 +67,7 @@ class RenderPerformanceOverlay extends RenderBox {
}
bool get sizedByParent => true;
bool get alwaysNeedsCompositing => true;
double getMinIntrinsicWidth(BoxConstraints constraints) {
return constraints.constrainWidth(0.0);
......@@ -101,6 +102,7 @@ class RenderPerformanceOverlay extends RenderBox {
}
void paint(PaintingContext context, Offset offset) {
assert(needsCompositing);
context.pushPerformanceOverlay(offset, optionsMask, rasterizerThreshold, size);
}
}
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