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 60272111685995e6722c2cc29f1a464fc224552f..2d13ff5458770e7c97c52ccc4c3a980a05ce1638 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -1541,9 +1541,9 @@ void LayerTreeHostImpl::ActivatePendingTree() { |
// next sync. |
pending_tree_.swap(recycle_tree_); |
+ active_tree_->DidBecomeActive(); |
active_tree_->SetRootLayerScrollOffsetDelegate( |
root_layer_scroll_offset_delegate_); |
- active_tree_->DidBecomeActive(); |
// Reduce wasted memory now that unlinked resources are guaranteed not |
// to be used. |