| Index: cc/trees/layer_tree_impl.cc
|
| diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
|
| index f57f8a226d693baa8fcec0e2ffa179ac006fc7fe..3b849e9bf97b6f3f30a3aa7b084c1a8c4c9fe18a 100644
|
| --- a/cc/trees/layer_tree_impl.cc
|
| +++ b/cc/trees/layer_tree_impl.cc
|
| @@ -1793,11 +1793,6 @@ void LayerTreeImpl::RemoveSurfaceLayer(LayerImpl* layer) {
|
| surface_layers_.erase(it);
|
| }
|
|
|
| -template <typename LayerType>
|
| -static inline bool LayerClipsSubtree(LayerType* layer) {
|
| - return layer->masks_to_bounds() || layer->mask_layer();
|
| -}
|
| -
|
| static bool PointHitsRect(
|
| const gfx::PointF& screen_space_point,
|
| const gfx::Transform& local_space_to_screen_space_transform,
|
|
|