Index: cc/trees/layer_tree_impl.cc |
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc |
index 304b9fb742863d36b1929c4827d2e9ffc932d413..1fe9ba686f1f5daab00fb5a659aea6cd76f85a98 100644 |
--- a/cc/trees/layer_tree_impl.cc |
+++ b/cc/trees/layer_tree_impl.cc |
@@ -750,6 +750,13 @@ LayerImpl* LayerTreeImpl::FindPendingTreeLayerById(int id) { |
return tree->LayerById(id); |
} |
+LayerImpl* LayerTreeImpl::FindRecycleTreeLayerById(int id) { |
+ LayerTreeImpl* tree = layer_tree_host_impl_->recycle_tree(); |
+ if (!tree) |
+ return NULL; |
+ return tree->LayerById(id); |
+} |
+ |
bool LayerTreeImpl::PinchGestureActive() const { |
return layer_tree_host_impl_->pinch_gesture_active(); |
} |