| Index: cc/trees/layer_tree_host_impl.cc
|
| diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
|
| index 679e0e76a083e0fb2b4a9034928d589b80717ce8..98b508532bdb95486d5b74f417a3150718192bbc 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -1216,6 +1216,24 @@ void LayerTreeHostImpl::NotifyReadyToActivate() {
|
| client_->NotifyReadyToActivate();
|
| }
|
|
|
| +void LayerTreeHostImpl::NotifyTileInitialized(const Tile* tile) {
|
| + TRACE_EVENT0("cc", "LayerTreeHostImpl::NotifyTileInitialized");
|
| +
|
| + if (active_tree_) {
|
| + LayerImpl* layer_impl =
|
| + active_tree_->FindActiveTreeLayerById(tile->layer_id());
|
| + if (layer_impl)
|
| + layer_impl->NotifyTileInitialized(tile);
|
| + }
|
| +
|
| + if (pending_tree_) {
|
| + LayerImpl* layer_impl =
|
| + pending_tree_->FindPendingTreeLayerById(tile->layer_id());
|
| + if (layer_impl)
|
| + layer_impl->NotifyTileInitialized(tile);
|
| + }
|
| +}
|
| +
|
| void LayerTreeHostImpl::SetMemoryPolicy(const ManagedMemoryPolicy& policy) {
|
| SetManagedMemoryPolicy(policy, zero_budget_);
|
| }
|
|
|