| Index: cc/trees/layer_tree_impl.cc
|
| diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
|
| index 9d4773d5fe03fc06f31bd29c16797b7903477593..58351e92ca84f10f88c3ae27eccc5b4907586f5d 100644
|
| --- a/cc/trees/layer_tree_impl.cc
|
| +++ b/cc/trees/layer_tree_impl.cc
|
| @@ -1887,8 +1887,8 @@ static void FindClosestMatchingLayer(const gfx::PointF& screen_space_point,
|
|
|
| bool in_front_of_previous_candidate =
|
| state->closest_match &&
|
| - layer->sorting_context_id() ==
|
| - state->closest_match->sorting_context_id() &&
|
| + layer->GetSortingContextId() ==
|
| + state->closest_match->GetSortingContextId() &&
|
| distance_to_intersection >
|
| state->closest_distance + std::numeric_limits<float>::epsilon();
|
|
|
|
|