Fix typos in Fuchsia (#7563)

This commit is contained in:
liyuqian 2019-01-23 13:27:51 -08:00 committed by Zachary Anderson
parent 46c22c018e
commit 2972c71f3a
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ void LayerTree::UpdateScene(SceneUpdateContext& context,
root_layer_->UpdateScene(context);
}
if (root_layer_->needs_painting()) {
frame.AddPaintedLayer(root_layer_.get());
frame.AddPaintLayer(root_layer_.get());
}
container.AddChild(transform.entity_node());
}

View File

@ -69,7 +69,7 @@ void PhysicalShapeLayer::UpdateScene(SceneUpdateContext& context) {
SceneUpdateContext::Frame frame(context, frameRRect_, color_, elevation_);
for (auto& layer : layers()) {
if (layer->needs_painting()) {
frame.AddPaintedLayer(layer.get());
frame.AddPaintLayer(layer.get());
}
}