提交 9e34c6ff 编写于 作者: E Eric Seidel

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

上级 e0c48bc4
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册