Remove ContainerLayer::paintChildren trace per @abarth (#2709)

This commit is contained in:
Eric Seidel
2016-05-25 14:20:51 -07:00
parent 700f272343
commit ae3cf88f92

View File

@@ -35,7 +35,8 @@ void ContainerLayer::PrerollChildren(PrerollContext* context,
}
void ContainerLayer::PaintChildren(PaintContext& context) const {
TRACE_EVENT0("flutter", "ContainerLayer::PaintChildren");
// Intentionally not tracing here as there should be no self-time
// and the trace event on this common function has a small overhead.
for (auto& layer : layers_)
layer->Paint(context);
}