| Index: cc/trees/layer_tree_impl.cc
|
| diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
|
| index f442ca2d7363376c92e45ed02bfb791be51fe698..146964f4ba59b2984be03883feccd952c1dd141e 100644
|
| --- a/cc/trees/layer_tree_impl.cc
|
| +++ b/cc/trees/layer_tree_impl.cc
|
| @@ -826,6 +826,20 @@ AnimationRegistrar* LayerTreeImpl::animationRegistrar() const {
|
| return layer_tree_host_impl_->animation_registrar();
|
| }
|
|
|
| +void LayerTreeImpl::AllTilesForTracingInto(std::set<const Tile*>* tiles) const {
|
| + typedef LayerIterator<LayerImpl> LayerIteratorType;
|
| + LayerIteratorType end = LayerIteratorType::End(&render_surface_layer_list_);
|
| + for (LayerIteratorType it =
|
| + LayerIteratorType::Begin(&render_surface_layer_list_);
|
| + it != end;
|
| + ++it) {
|
| + if (!it.represents_itself())
|
| + continue;
|
| + LayerImpl* layer_impl = *it;
|
| + layer_impl->AllTilesForTracingInto(tiles);
|
| + }
|
| +}
|
| +
|
| void LayerTreeImpl::AsValueInto(base::debug::TracedValue* state) const {
|
| TracedValue::MakeDictIntoImplicitSnapshot(state, "cc::LayerTreeImpl", this);
|
|
|
|
|