Skip to content

Commit

Permalink
Remove ContainerLayer::paintChildren trace per @abarth (flutter#2709)
Browse files Browse the repository at this point in the history
  • Loading branch information
eseidelGoogle committed May 25, 2016
1 parent e0c48bc commit 9e34c6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flow/layers/container_layer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 9e34c6f

Please sign in to comment.