| 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 6dbf6453753abff7f453354bb4b271ba428d23d4..8d63a313c34d886320cbf4633457ee7ab9282289 100644
|
| --- a/cc/trees/layer_tree_host_impl.cc
|
| +++ b/cc/trees/layer_tree_host_impl.cc
|
| @@ -2116,6 +2116,12 @@ void LayerTreeHostImpl::ActivateSyncTree() {
|
| // Reset will call the destructor and log the timer histogram.
|
| pending_tree_duration_timer_.reset();
|
|
|
| + // In most cases, this will be reset in NotifyReadyToActivate, since we
|
| + // activate the pending tree only when its ready. But an activation may be
|
| + // forced, in the case of a context loss for instance, so reset it here as
|
| + // well.
|
| + pending_tree_raster_duration_timer_.reset();
|
| +
|
| // Process any requests in the UI resource queue. The request queue is
|
| // given in LayerTreeHost::FinishCommitOnImplThread. This must take place
|
| // before the swap.
|
|
|